summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-04-15 15:29:08 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-08-20 14:55:14 +0200
commit75b2093afbf9b6c434f0aca8dcc5c382b930f478 (patch)
treea291ac514f477e09d2d9c8a589516a3bd1b535e7
parentbsps/leon3: Remove superfluous includes (diff)
downloadrtems-75b2093afbf9b6c434f0aca8dcc5c382b930f478.tar.bz2
sparc: Use RTEMS_XCONCAT()
Prefer macros with a proper namespace.
-rw-r--r--cpukit/score/cpu/sparc/include/rtems/asm.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/cpukit/score/cpu/sparc/include/rtems/asm.h b/cpukit/score/cpu/sparc/include/rtems/asm.h
index cf2f25d06c..de65f35d2c 100644
--- a/cpukit/score/cpu/sparc/include/rtems/asm.h
+++ b/cpukit/score/cpu/sparc/include/rtems/asm.h
@@ -66,15 +66,13 @@
#define __REGISTER_PREFIX__
#endif
-#include <rtems/concat.h>
-
/* Use the right prefix for global labels. */
-#define SYM(x) CONCAT1 (__USER_LABEL_PREFIX__, x)
+#define SYM(x) RTEMS_XCONCAT(__USER_LABEL_PREFIX__, x)
/* Use the right prefix for registers. */
-#define REG(x) CONCAT1 (__REGISTER_PREFIX__, x)
+#define REG(x) RTEMS_XCONCAT(__REGISTER_PREFIX__, x)
/*
* define macros for all of the registers on this CPU