linux/arch/x86/include/asm/vermagic.h

/* SPDX-License-Identifier: GPL-2.0 */

#ifndef _ASM_VERMAGIC_H
#define _ASM_VERMAGIC_H

#ifdef CONFIG_X86_64
/* X86_64 does not define MODULE_PROC_FAMILY */
#elif defined CONFIG_M486SX
#define MODULE_PROC_FAMILY
#elif defined CONFIG_M486
#define MODULE_PROC_FAMILY
#elif defined CONFIG_M586
#define MODULE_PROC_FAMILY
#elif defined CONFIG_M586TSC
#define MODULE_PROC_FAMILY
#elif defined CONFIG_M586MMX
#define MODULE_PROC_FAMILY
#elif defined CONFIG_MCORE2
#define MODULE_PROC_FAMILY
#elif defined CONFIG_MATOM
#define MODULE_PROC_FAMILY
#elif defined CONFIG_M686
#define MODULE_PROC_FAMILY
#elif defined CONFIG_MPENTIUMII
#define MODULE_PROC_FAMILY
#elif defined CONFIG_MPENTIUMIII
#define MODULE_PROC_FAMILY
#elif defined CONFIG_MPENTIUMM
#define MODULE_PROC_FAMILY
#elif defined CONFIG_MPENTIUM4
#define MODULE_PROC_FAMILY
#elif defined CONFIG_MK6
#define MODULE_PROC_FAMILY
#elif defined CONFIG_MK7
#define MODULE_PROC_FAMILY
#elif defined CONFIG_MK8
#define MODULE_PROC_FAMILY
#elif defined CONFIG_MELAN
#define MODULE_PROC_FAMILY
#elif defined CONFIG_MCRUSOE
#define MODULE_PROC_FAMILY
#elif defined CONFIG_MEFFICEON
#define MODULE_PROC_FAMILY
#elif defined CONFIG_MWINCHIPC6
#define MODULE_PROC_FAMILY
#elif defined CONFIG_MWINCHIP3D
#define MODULE_PROC_FAMILY
#elif defined CONFIG_MCYRIXIII
#define MODULE_PROC_FAMILY
#elif defined CONFIG_MVIAC3_2
#define MODULE_PROC_FAMILY
#elif defined CONFIG_MVIAC7
#define MODULE_PROC_FAMILY
#elif defined CONFIG_MGEODEGX1
#define MODULE_PROC_FAMILY
#elif defined CONFIG_MGEODE_LX
#define MODULE_PROC_FAMILY
#else
#error unknown processor family
#endif

#ifdef CONFIG_X86_32
#define MODULE_ARCH_VERMAGIC
#else
#define MODULE_ARCH_VERMAGIC
#endif

#endif /* _ASM_VERMAGIC_H */