summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-01-09 20:09:36 +0000
committerRalf Baechle <ralf@linux-mips.org>2006-02-07 13:30:21 +0000
commit4f0638ba9e3825d21d41e98d04faa6b74a05c624 (patch)
treea62a7edacb4fe0bb35bb29925a72d922dcdfbfcb /arch/mips
parente3f749c4af69c4344d89f11e2293e3790eb4eaca (diff)
downloadop-kernel-dev-4f0638ba9e3825d21d41e98d04faa6b74a05c624.zip
op-kernel-dev-4f0638ba9e3825d21d41e98d04faa6b74a05c624.tar.gz
[MIPS] Remove stray .set mips3 resulting in 64-bit instruction in 32-bit kernels.
Only the NMI handler was affected so this is a low impact bug. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/kernel/genex.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/genex.S b/arch/mips/kernel/genex.S
index aa18a8b..13f22d1 100644
--- a/arch/mips/kernel/genex.S
+++ b/arch/mips/kernel/genex.S
@@ -233,11 +233,11 @@ NESTED(except_vec_nmi, 0, sp)
NESTED(nmi_handler, PT_SIZE, sp)
.set push
.set noat
- .set mips3
SAVE_ALL
move a0, sp
jal nmi_exception_handler
RESTORE_ALL
+ .set mips3
eret
.set pop
END(nmi_handler)
OpenPOWER on IntegriCloud