mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-05-05 23:04:09 +00:00
Replace three implementations with one using using __stringify_in_c macro conveniently "borrowed" from powerpc and microblaze. Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
12 lines
376 B
C
12 lines
376 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ASM_S390_ASM_CONST_H
|
|
#define _ASM_S390_ASM_CONST_H
|
|
|
|
#ifdef __ASSEMBLY__
|
|
# define stringify_in_c(...) __VA_ARGS__
|
|
#else
|
|
/* This version of stringify will deal with commas... */
|
|
# define __stringify_in_c(...) #__VA_ARGS__
|
|
# define stringify_in_c(...) __stringify_in_c(__VA_ARGS__) " "
|
|
#endif
|
|
#endif /* _ASM_S390_ASM_CONST_H */
|