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