summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/module.h
diff options
context:
space:
mode:
authorLeonid Yegoshin <Leonid.Yegoshin@imgtec.com>2014-10-27 12:23:34 +0100
committerMarkos Chandras <markos.chandras@imgtec.com>2015-02-17 16:37:17 +0100
commitb840a82c549d4126b5c4958673de3f472206e23e (patch)
treeaafd9de0e931b64abf192da9ab758bcba1cb494e /arch/mips/include/asm/module.h
parentMIPS: asm: compiler: Add new macros to set ISA and arch asm annotations (diff)
downloadlinux-b840a82c549d4126b5c4958673de3f472206e23e.tar.xz
linux-b840a82c549d4126b5c4958673de3f472206e23e.zip
MIPS: asm: module: define MODULE_PROC_FAMILY for MIPS R6
Define the MODULE_PROC_FAMILY for the MIPS R6 ISA. Signed-off-by: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com> Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Diffstat (limited to 'arch/mips/include/asm/module.h')
-rw-r--r--arch/mips/include/asm/module.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/include/asm/module.h b/arch/mips/include/asm/module.h
index 800fe578dc99..0aaf9a01ea50 100644
--- a/arch/mips/include/asm/module.h
+++ b/arch/mips/include/asm/module.h
@@ -88,10 +88,14 @@ search_module_dbetables(unsigned long addr)
#define MODULE_PROC_FAMILY "MIPS32_R1 "
#elif defined CONFIG_CPU_MIPS32_R2
#define MODULE_PROC_FAMILY "MIPS32_R2 "
+#elif defined CONFIG_CPU_MIPS32_R6
+#define MODULE_PROC_FAMILY "MIPS32_R6 "
#elif defined CONFIG_CPU_MIPS64_R1
#define MODULE_PROC_FAMILY "MIPS64_R1 "
#elif defined CONFIG_CPU_MIPS64_R2
#define MODULE_PROC_FAMILY "MIPS64_R2 "
+#elif defined CONFIG_CPU_MIPS64_R6
+#define MODULE_PROC_FAMILY "MIPS64_R6 "
#elif defined CONFIG_CPU_R3000
#define MODULE_PROC_FAMILY "R3000 "
#elif defined CONFIG_CPU_TX39XX