summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/genex.S
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2012-12-28 15:15:25 +0100
committerRalf Baechle <ralf@linux-mips.org>2012-12-28 17:04:16 +0100
commitbef9ae3d883ce908d8879fff0cd2c3971f5ee4b4 (patch)
tree06902d4c33b71a1960dbf90ea956b08056a6aa09 /arch/mips/kernel/genex.S
parentMIPS: Include PAGE_S{IZE,HIFT} in <asm/offset.h>. (diff)
downloadlinux-bef9ae3d883ce908d8879fff0cd2c3971f5ee4b4.tar.xz
linux-bef9ae3d883ce908d8879fff0cd2c3971f5ee4b4.zip
MIPS: Switch remaining assembler PAGE_SIZE users to <asm/asm-offsets.h>.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/genex.S')
-rw-r--r--arch/mips/kernel/genex.S5
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 @@
#include <asm/mipsregs.h>
#include <asm/stackframe.h>
#include <asm/war.h>
-#include <asm/page.h>
#include <asm/thread_info.h>
#define PANIC_PIC(msg) \
@@ -483,8 +482,8 @@ NESTED(nmi_handler, PT_SIZE, sp)
MFC0 k1, CP0_ENTRYHI
andi k1, 0xff /* ASID_MASK */
MFC0 k0, CP0_EPC
- PTR_SRL k0, PAGE_SHIFT + 1
- PTR_SLL k0, PAGE_SHIFT + 1
+ PTR_SRL k0, _PAGE_SHIFT + 1
+ PTR_SLL k0, _PAGE_SHIFT + 1
or k1, k0
MTC0 k1, CP0_ENTRYHI
mtc0_tlbw_hazard