From 75b2093afbf9b6c434f0aca8dcc5c382b930f478 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 15 Apr 2020 15:29:08 +0200 Subject: sparc: Use RTEMS_XCONCAT() Prefer macros with a proper namespace. --- cpukit/score/cpu/sparc/include/rtems/asm.h | 6 ++---- 1 file 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 - /* 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 -- cgit v1.2.3