diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2024-01-16 20:57:49 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2024-02-27 16:20:18 +0100 |
commit | c454b1048f0629324188c360634b9c96d1fa3fdb (patch) | |
tree | 84a49f7743f7058d730d34d22d8baf9e93cdd21b | |
parent | bsps/powerpc: Include missing <rtems/irq.h> (diff) | |
download | rtems-c454b1048f0629324188c360634b9c96d1fa3fdb.tar.bz2 |
powerpc: Use RTEMS_XCONCAT()
Prefer macros with a proper namespace.
-rw-r--r-- | cpukit/score/cpu/powerpc/include/rtems/asm.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/cpukit/score/cpu/powerpc/include/rtems/asm.h b/cpukit/score/cpu/powerpc/include/rtems/asm.h index 27af64e724..94f54245b4 100644 --- a/cpukit/score/cpu/powerpc/include/rtems/asm.h +++ b/cpukit/score/cpu/powerpc/include/rtems/asm.h @@ -75,23 +75,21 @@ #define __PROC_LABEL_PREFIX__ __USER_LABEL_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 procedure labels. */ -#define PROC(x) CONCAT1 (__PROC_LABEL_PREFIX__, x) +#define PROC(x) RTEMS_XCONCAT (__PROC_LABEL_PREFIX__, x) /* Use the right prefix for registers. */ -#define REG(x) CONCAT1 (__REGISTER_PREFIX__, x) +#define REG(x) RTEMS_XCONCAT (__REGISTER_PREFIX__, x) /* Use the right prefix for floating point registers. */ -#define FREG(x) CONCAT1 (__FLOAT_REGISTER_PREFIX__, x) +#define FREG(x) RTEMS_XCONCAT (__FLOAT_REGISTER_PREFIX__, x) /* * define macros for all of the registers on this CPU |