forked from luck/tmp_suning_uos_patched
[MIPS] SMTC and non-SMTC kernel and modules are incompatible
So don't allow mixing. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
3207cd5c4b
commit
2fae3731b1
|
@ -122,6 +122,13 @@ search_module_dbetables(unsigned long addr)
|
|||
#define MODULE_KERNEL_TYPE "64BIT "
|
||||
#endif
|
||||
|
||||
#define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY MODULE_KERNEL_TYPE
|
||||
#ifdef CONFIG_MIPS_MT_SMTC
|
||||
#define MODULE_KERNEL_SMTC "MT_SMTC "
|
||||
#else
|
||||
#define MODULE_KERNEL_SMTC ""
|
||||
#endif
|
||||
|
||||
#define MODULE_ARCH_VERMAGIC \
|
||||
MODULE_PROC_FAMILY MODULE_KERNEL_TYPE MODULE_KERNEL_SMTC
|
||||
|
||||
#endif /* _ASM_MODULE_H */
|
||||
|
|
Loading…
Reference in New Issue
Block a user