From bdb4bc436f5a0f3df063376f07958d2ae4a4509b Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 23 May 2023 10:43:20 +0200 Subject: [PATCH] arm: Use RTEMS_XCONCAT() Prefer macros with a proper namespace. --- cpukit/score/cpu/arm/include/rtems/asm.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cpukit/score/cpu/arm/include/rtems/asm.h b/cpukit/score/cpu/arm/include/rtems/asm.h index 79892aae0c..9f676e40ab 100644 --- a/cpukit/score/cpu/arm/include/rtems/asm.h +++ b/cpukit/score/cpu/arm/include/rtems/asm.h @@ -89,15 +89,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