1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */ 2*4882a593Smuzhiyun #ifndef _ASM_MICROBLAZE_ASM_COMPAT_H 3*4882a593Smuzhiyun #define _ASM_MICROBLAZE_ASM_COMPAT_H 4*4882a593Smuzhiyun 5*4882a593Smuzhiyun #include <asm/types.h> 6*4882a593Smuzhiyun 7*4882a593Smuzhiyun #ifdef __ASSEMBLY__ 8*4882a593Smuzhiyun # define stringify_in_c(...) __VA_ARGS__ 9*4882a593Smuzhiyun # define ASM_CONST(x) x 10*4882a593Smuzhiyun #else 11*4882a593Smuzhiyun /* This version of stringify will deal with commas... */ 12*4882a593Smuzhiyun # define __stringify_in_c(...) #__VA_ARGS__ 13*4882a593Smuzhiyun # define stringify_in_c(...) __stringify_in_c(__VA_ARGS__) " " 14*4882a593Smuzhiyun # define __ASM_CONST(x) x##UL 15*4882a593Smuzhiyun # define ASM_CONST(x) __ASM_CONST(x) 16*4882a593Smuzhiyun #endif 17*4882a593Smuzhiyun 18*4882a593Smuzhiyun #endif /* _ASM_MICROBLAZE_ASM_COMPAT_H */ 19