projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3207cd5
)
[MIPS] SMTC and non-SMTC kernel and modules are incompatible
author
Ralf Baechle
<ralf@mips.com>
Wed, 20 Jun 2007 13:25:27 +0000
(14:25 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Tue, 26 Jun 2007 17:57:34 +0000
(19:57 +0200)
So don't allow mixing.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/module.h
patch
|
blob
|
history
diff --git
a/include/asm-mips/module.h
b/include/asm-mips/module.h
index 399d03f1c4fcf3c1f4d8049667c73a05cb2e24b4..c5ef324fd69f7a7824897a77dc7857948f0ec0d8 100644
(file)
--- a/
include/asm-mips/module.h
+++ b/
include/asm-mips/module.h
@@
-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 */