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