1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_VERMAGIC_H
3 #define _ASM_VERMAGIC_H
4 
5 #ifdef CONFIG_ARCH_USING_PATCHABLE_FUNCTION_ENTRY
6 #define MODULE_ARCH_VERMAGIC_FTRACE	"patchable-function-entry "
7 #elif defined(CONFIG_MPROFILE_KERNEL)
8 #define MODULE_ARCH_VERMAGIC_FTRACE	"mprofile-kernel "
9 #else
10 #define MODULE_ARCH_VERMAGIC_FTRACE	""
11 #endif
12 
13 #ifdef CONFIG_RELOCATABLE
14 #define MODULE_ARCH_VERMAGIC_RELOCATABLE	"relocatable "
15 #else
16 #define MODULE_ARCH_VERMAGIC_RELOCATABLE	""
17 #endif
18 
19 #define MODULE_ARCH_VERMAGIC \
20 		MODULE_ARCH_VERMAGIC_FTRACE MODULE_ARCH_VERMAGIC_RELOCATABLE
21 
22 #endif /* _ASM_VERMAGIC_H */
23