arm: Use RTEMS_XCONCAT()

Prefer macros with a proper namespace.
This commit is contained in:
Sebastian Huber
2023-05-26 06:56:11 +02:00
parent 5da3ff47df
commit bdb4bc436f
+2 -4
View File
@@ -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