diff options
author | Kevin Cernekee <cernekee@gmail.com> | 2011-11-15 20:25:40 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2011-12-07 17:03:17 -0500 |
commit | 1c7c44519a12d79af1f599a8cc4997e1230025ed (patch) | |
tree | e867c1117e1ed07f1a1d1675b8c4710f8138eb16 /arch/mips/include | |
parent | 15fb0a150938ad68561bab6aa895685665bef08c (diff) |
MIPS: BMIPS: Add CFLAGS, Makefile entries for BMIPS
Add CONFIG_CPU_BMIPS* in all of the right places, so that BMIPS kernel
images will compile and run.
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2955/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include')
-rw-r--r-- | arch/mips/include/asm/hazards.h | 3 | ||||
-rw-r--r-- | arch/mips/include/asm/module.h | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/arch/mips/include/asm/hazards.h b/arch/mips/include/asm/hazards.h index 8f630e495532..b4c20e4f87cd 100644 --- a/arch/mips/include/asm/hazards.h +++ b/arch/mips/include/asm/hazards.h | |||
@@ -87,7 +87,8 @@ do { \ | |||
87 | : "=r" (tmp)); \ | 87 | : "=r" (tmp)); \ |
88 | } while (0) | 88 | } while (0) |
89 | 89 | ||
90 | #elif defined(CONFIG_CPU_MIPSR1) && !defined(CONFIG_MIPS_ALCHEMY) | 90 | #elif (defined(CONFIG_CPU_MIPSR1) && !defined(CONFIG_MIPS_ALCHEMY)) || \ |
91 | defined(CONFIG_CPU_BMIPS) | ||
91 | 92 | ||
92 | /* | 93 | /* |
93 | * These are slightly complicated by the fact that we guarantee R1 kernels to | 94 | * These are slightly complicated by the fact that we guarantee R1 kernels to |
diff --git a/arch/mips/include/asm/module.h b/arch/mips/include/asm/module.h index bc01a02cacd8..a73bc19ead4e 100644 --- a/arch/mips/include/asm/module.h +++ b/arch/mips/include/asm/module.h | |||
@@ -74,7 +74,9 @@ search_module_dbetables(unsigned long addr) | |||
74 | } | 74 | } |
75 | #endif | 75 | #endif |
76 | 76 | ||
77 | #ifdef CONFIG_CPU_MIPS32_R1 | 77 | #ifdef CONFIG_CPU_BMIPS |
78 | #define MODULE_PROC_FAMILY "BMIPS " | ||
79 | #elif defined CONFIG_CPU_MIPS32_R1 | ||
78 | #define MODULE_PROC_FAMILY "MIPS32_R1 " | 80 | #define MODULE_PROC_FAMILY "MIPS32_R1 " |
79 | #elif defined CONFIG_CPU_MIPS32_R2 | 81 | #elif defined CONFIG_CPU_MIPS32_R2 |
80 | #define MODULE_PROC_FAMILY "MIPS32_R2 " | 82 | #define MODULE_PROC_FAMILY "MIPS32_R2 " |