[rtems commit] arm: Use RTEMS_XCONCAT()
Sebastian Huber
sebh at rtems.org
Fri May 26 04:37:50 UTC 2023
Module: rtems
Branch: master
Commit: bdb4bc436f5a0f3df063376f07958d2ae4a4509b
Changeset: http://git.rtems.org/rtems/commit/?id=bdb4bc436f5a0f3df063376f07958d2ae4a4509b
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue May 23 10:43:20 2023 +0200
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 <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
More information about the vc
mailing list