diff options
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/include/asm/hazards.h | 4 | ||||
-rw-r--r-- | arch/mips/mm/tlbex.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/include/asm/hazards.h b/arch/mips/include/asm/hazards.h index 134e1fc8f4d6..a12d971db4f9 100644 --- a/arch/mips/include/asm/hazards.h +++ b/arch/mips/include/asm/hazards.h | |||
@@ -87,7 +87,7 @@ do { \ | |||
87 | : "=r" (tmp)); \ | 87 | : "=r" (tmp)); \ |
88 | } while (0) | 88 | } while (0) |
89 | 89 | ||
90 | #elif defined(CONFIG_CPU_MIPSR1) | 90 | #elif defined(CONFIG_CPU_MIPSR1) && !defined(CONFIG_MACH_ALCHEMY) |
91 | 91 | ||
92 | /* | 92 | /* |
93 | * These are slightly complicated by the fact that we guarantee R1 kernels to | 93 | * These are slightly complicated by the fact that we guarantee R1 kernels to |
@@ -139,7 +139,7 @@ do { \ | |||
139 | } while (0) | 139 | } while (0) |
140 | 140 | ||
141 | #elif defined(CONFIG_CPU_R10000) || defined(CONFIG_CPU_CAVIUM_OCTEON) || \ | 141 | #elif defined(CONFIG_CPU_R10000) || defined(CONFIG_CPU_CAVIUM_OCTEON) || \ |
142 | defined(CONFIG_CPU_R5500) | 142 | defined(CONFIG_CPU_R5500) || defined(CONFIG_MACH_ALCHEMY) |
143 | 143 | ||
144 | /* | 144 | /* |
145 | * R10000 rocks - all hazards handled in hardware, so this becomes a nobrainer. | 145 | * R10000 rocks - all hazards handled in hardware, so this becomes a nobrainer. |
diff --git a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c index 122c9c12e75a..0615b62efd6d 100644 --- a/arch/mips/mm/tlbex.c +++ b/arch/mips/mm/tlbex.c | |||
@@ -292,7 +292,6 @@ static void __cpuinit build_tlb_write_entry(u32 **p, struct uasm_label **l, | |||
292 | case CPU_R4300: | 292 | case CPU_R4300: |
293 | case CPU_5KC: | 293 | case CPU_5KC: |
294 | case CPU_TX49XX: | 294 | case CPU_TX49XX: |
295 | case CPU_ALCHEMY: | ||
296 | case CPU_PR4450: | 295 | case CPU_PR4450: |
297 | uasm_i_nop(p); | 296 | uasm_i_nop(p); |
298 | tlbw(p); | 297 | tlbw(p); |
@@ -315,6 +314,7 @@ static void __cpuinit build_tlb_write_entry(u32 **p, struct uasm_label **l, | |||
315 | case CPU_R5500: | 314 | case CPU_R5500: |
316 | if (m4kc_tlbp_war()) | 315 | if (m4kc_tlbp_war()) |
317 | uasm_i_nop(p); | 316 | uasm_i_nop(p); |
317 | case CPU_ALCHEMY: | ||
318 | tlbw(p); | 318 | tlbw(p); |
319 | break; | 319 | break; |
320 | 320 | ||