xref: /linux/arch/loongarch/include/asm/vermagic.h (revision 5e0266f0e5f57617472d5aac4013f58a3ef264ac)
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