xref: /linux/arch/powerpc/include/asm/vermagic.h (revision 16ba7e312045cd5d32fba0156312b4303f200787)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_VERMAGIC_H
3 #define _ASM_VERMAGIC_H
4 
5 #ifdef CONFIG_MPROFILE_KERNEL
6 #define MODULE_ARCH_VERMAGIC_FTRACE	"mprofile-kernel "
7 #else
8 #define MODULE_ARCH_VERMAGIC_FTRACE	""
9 #endif
10 
11 #ifdef CONFIG_RELOCATABLE
12 #define MODULE_ARCH_VERMAGIC_RELOCATABLE	"relocatable "
13 #else
14 #define MODULE_ARCH_VERMAGIC_RELOCATABLE	""
15 #endif
16 
17 #define MODULE_ARCH_VERMAGIC \
18 		MODULE_ARCH_VERMAGIC_FTRACE MODULE_ARCH_VERMAGIC_RELOCATABLE
19 
20 #endif /* _ASM_VERMAGIC_H */
21