diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-04-15 15:29:08 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-08-20 14:55:14 +0200 |
commit | 75b2093afbf9b6c434f0aca8dcc5c382b930f478 (patch) | |
tree | a291ac514f477e09d2d9c8a589516a3bd1b535e7 /cpukit/score/cpu | |
parent | bsps/leon3: Remove superfluous includes (diff) | |
download | rtems-75b2093afbf9b6c434f0aca8dcc5c382b930f478.tar.bz2 |
sparc: Use RTEMS_XCONCAT()
Prefer macros with a proper namespace.
Diffstat (limited to 'cpukit/score/cpu')
-rw-r--r-- | cpukit/score/cpu/sparc/include/rtems/asm.h | 6 |
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 |