diff options
Diffstat (limited to 'arch/mips/kernel/genex.S')
-rw-r--r-- | arch/mips/kernel/genex.S | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/mips/kernel/genex.S b/arch/mips/kernel/genex.S index 8882e5766f27..8a0096d62812 100644 --- a/arch/mips/kernel/genex.S +++ b/arch/mips/kernel/genex.S | |||
@@ -19,7 +19,6 @@ | |||
19 | #include <asm/mipsregs.h> | 19 | #include <asm/mipsregs.h> |
20 | #include <asm/stackframe.h> | 20 | #include <asm/stackframe.h> |
21 | #include <asm/war.h> | 21 | #include <asm/war.h> |
22 | #include <asm/page.h> | ||
23 | #include <asm/thread_info.h> | 22 | #include <asm/thread_info.h> |
24 | 23 | ||
25 | #define PANIC_PIC(msg) \ | 24 | #define PANIC_PIC(msg) \ |
@@ -483,8 +482,8 @@ NESTED(nmi_handler, PT_SIZE, sp) | |||
483 | MFC0 k1, CP0_ENTRYHI | 482 | MFC0 k1, CP0_ENTRYHI |
484 | andi k1, 0xff /* ASID_MASK */ | 483 | andi k1, 0xff /* ASID_MASK */ |
485 | MFC0 k0, CP0_EPC | 484 | MFC0 k0, CP0_EPC |
486 | PTR_SRL k0, PAGE_SHIFT + 1 | 485 | PTR_SRL k0, _PAGE_SHIFT + 1 |
487 | PTR_SLL k0, PAGE_SHIFT + 1 | 486 | PTR_SLL k0, _PAGE_SHIFT + 1 |
488 | or k1, k0 | 487 | or k1, k0 |
489 | MTC0 k1, CP0_ENTRYHI | 488 | MTC0 k1, CP0_ENTRYHI |
490 | mtc0_tlbw_hazard | 489 | mtc0_tlbw_hazard |