No point in open coding this logic when we've got nifty helpers to do it.
+2015-11-16 Mike Frysinger <vapier@gentoo.org>
+
+ * sim-close.c (__cgen_cpu_close, _cgen_cpu_close): Delete.
+ (cgen_cpu_close): Change to XCONCAT2.
+
2015-11-15 Mike Frysinger <vapier@gentoo.org>
* Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-reason.o, sim-reg.o,
/* If cgen is active, close it down. */
#ifdef CGEN_ARCH
-# define __cgen_cpu_close(arch) arch##_cgen_cpu_close
-# define _cgen_cpu_close(arch) __cgen_cpu_close (arch)
-# define cgen_cpu_close _cgen_cpu_close (CGEN_ARCH)
+# define cgen_cpu_close XCONCAT2 (CGEN_ARCH,_cgen_cpu_close)
cgen_cpu_close (CPU_CPU_DESC (STATE_CPU (sd, 0)));
#endif