xref: /kernel/linux/linux-6.6/arch/powerpc/include/asm/vermagic.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/arch/powerpc/include/asm/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef _ASM_VERMAGIC_H
362306a36Sopenharmony_ci#define _ASM_VERMAGIC_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci#ifdef CONFIG_ARCH_USING_PATCHABLE_FUNCTION_ENTRY
662306a36Sopenharmony_ci#define MODULE_ARCH_VERMAGIC_FTRACE	"patchable-function-entry "
762306a36Sopenharmony_ci#elif defined(CONFIG_MPROFILE_KERNEL)
862306a36Sopenharmony_ci#define MODULE_ARCH_VERMAGIC_FTRACE	"mprofile-kernel "
962306a36Sopenharmony_ci#else
1062306a36Sopenharmony_ci#define MODULE_ARCH_VERMAGIC_FTRACE	""
1162306a36Sopenharmony_ci#endif
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ci#ifdef CONFIG_RELOCATABLE
1462306a36Sopenharmony_ci#define MODULE_ARCH_VERMAGIC_RELOCATABLE	"relocatable "
1562306a36Sopenharmony_ci#else
1662306a36Sopenharmony_ci#define MODULE_ARCH_VERMAGIC_RELOCATABLE	""
1762306a36Sopenharmony_ci#endif
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci#define MODULE_ARCH_VERMAGIC \
2062306a36Sopenharmony_ci		MODULE_ARCH_VERMAGIC_FTRACE MODULE_ARCH_VERMAGIC_RELOCATABLE
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ci#endif /* _ASM_VERMAGIC_H */
23

Indexes created Thu Nov 07 10:32:03 CST 2024