[rtems commit] sparc: Use RTEMS_XCONCAT()

Sebastian Huber sebh at rtems.org
Thu Aug 20 12:56:17 UTC 2020


Module:    rtems
Branch:    master
Commit:    75b2093afbf9b6c434f0aca8dcc5c382b930f478
Changeset: http://git.rtems.org/rtems/commit/?id=75b2093afbf9b6c434f0aca8dcc5c382b930f478

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Apr 15 15:29:08 2020 +0200

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 cf2f25d..de65f35 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



More information about the vc mailing list