diff options
Diffstat (limited to 'arch/mips/mm')
-rw-r--r-- | arch/mips/mm/tlb-r3k.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/mips/mm/tlb-r3k.c b/arch/mips/mm/tlb-r3k.c index a782549ac80e..f0cf46adb978 100644 --- a/arch/mips/mm/tlb-r3k.c +++ b/arch/mips/mm/tlb-r3k.c | |||
@@ -246,10 +246,6 @@ void __init add_wired_entry(unsigned long entrylo0, unsigned long entrylo1, | |||
246 | old_pagemask = read_c0_pagemask(); | 246 | old_pagemask = read_c0_pagemask(); |
247 | w = read_c0_wired(); | 247 | w = read_c0_wired(); |
248 | write_c0_wired(w + 1); | 248 | write_c0_wired(w + 1); |
249 | if (read_c0_wired() != w + 1) { | ||
250 | printk("[tlbwired] No WIRED reg?\n"); | ||
251 | return; | ||
252 | } | ||
253 | write_c0_index(w << 8); | 249 | write_c0_index(w << 8); |
254 | write_c0_pagemask(pagemask); | 250 | write_c0_pagemask(pagemask); |
255 | write_c0_entryhi(entryhi); | 251 | write_c0_entryhi(entryhi); |