WIP FPC-III support
[linux/fpc-iii.git] / arch / microblaze / include / asm / asm-compat.h
blobc05259ce2d2c2d175b20cafd2d8b7a3018f3434c
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_MICROBLAZE_ASM_COMPAT_H
3 #define _ASM_MICROBLAZE_ASM_COMPAT_H
5 #include <asm/types.h>
7 #ifdef __ASSEMBLY__
8 # define stringify_in_c(...) __VA_ARGS__
9 # define ASM_CONST(x) x
10 #else
11 /* This version of stringify will deal with commas... */
12 # define __stringify_in_c(...) #__VA_ARGS__
13 # define stringify_in_c(...) __stringify_in_c(__VA_ARGS__) " "
14 # define __ASM_CONST(x) x##UL
15 # define ASM_CONST(x) __ASM_CONST(x)
16 #endif
18 #endif /* _ASM_MICROBLAZE_ASM_COMPAT_H */