aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@mips.com>2007-06-20 09:25:27 -0400
committerRalf Baechle <ralf@linux-mips.org>2007-06-26 13:57:34 -0400
commit2fae3731b1b02316c219c4556bb7ad3a920f73cc (patch)
treefa36c20147d464e6e7c6ae8b343d69c3ba512f9e
parent3207cd5c4b852b54126f5a4b2564652c64d93a6a (diff)
[MIPS] SMTC and non-SMTC kernel and modules are incompatible
So don't allow mixing. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--include/asm-mips/module.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/asm-mips/module.h b/include/asm-mips/module.h
index 399d03f1c4fc..c5ef324fd69f 100644
--- a/include/asm-mips/module.h
+++ b/include/asm-mips/module.h
@@ -122,6 +122,13 @@ search_module_dbetables(unsigned long addr)
122#define MODULE_KERNEL_TYPE "64BIT " 122#define MODULE_KERNEL_TYPE "64BIT "
123#endif 123#endif
124 124
125#define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY MODULE_KERNEL_TYPE 125#ifdef CONFIG_MIPS_MT_SMTC
126#define MODULE_KERNEL_SMTC "MT_SMTC "
127#else
128#define MODULE_KERNEL_SMTC ""
129#endif
130
131#define MODULE_ARCH_VERMAGIC \
132 MODULE_PROC_FAMILY MODULE_KERNEL_TYPE MODULE_KERNEL_SMTC
126 133
127#endif /* _ASM_MODULE_H */ 134#endif /* _ASM_MODULE_H */