xref: /linux/arch/loongarch/include/asm/vermagic.h (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1*fcdfe9d2SHuacai Chen /* SPDX-License-Identifier: GPL-2.0 */
2*fcdfe9d2SHuacai Chen /*
3*fcdfe9d2SHuacai Chen  * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
4*fcdfe9d2SHuacai Chen  */
5*fcdfe9d2SHuacai Chen #ifndef _ASM_VERMAGIC_H
6*fcdfe9d2SHuacai Chen #define _ASM_VERMAGIC_H
7*fcdfe9d2SHuacai Chen 
8*fcdfe9d2SHuacai Chen #define MODULE_PROC_FAMILY "LOONGARCH "
9*fcdfe9d2SHuacai Chen 
10*fcdfe9d2SHuacai Chen #ifdef CONFIG_32BIT
11*fcdfe9d2SHuacai Chen #define MODULE_KERNEL_TYPE "32BIT "
12*fcdfe9d2SHuacai Chen #elif defined CONFIG_64BIT
13*fcdfe9d2SHuacai Chen #define MODULE_KERNEL_TYPE "64BIT "
14*fcdfe9d2SHuacai Chen #endif
15*fcdfe9d2SHuacai Chen 
16*fcdfe9d2SHuacai Chen #define MODULE_ARCH_VERMAGIC \
17*fcdfe9d2SHuacai Chen 	MODULE_PROC_FAMILY MODULE_KERNEL_TYPE
18*fcdfe9d2SHuacai Chen 
19*fcdfe9d2SHuacai Chen #endif /* _ASM_VERMAGIC_H */
20