summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-01-17 03:52:19 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-01-17 03:52:19 +0000
commitb4657edca26e726073a2d4f1fc4a7eb66ebe0084 (patch)
tree180177b9e6c823bf841894fc1a3eb00bbd2ec1ce
parentad24ab1198401680a8b0e037663d2b5799de2c99 (diff)
Passing of structures in ABI64 sucks, so we no instead pass a pointer
to struct pt_regs to exception handlers.
-rw-r--r--arch/mips64/kernel/r4k_genex.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips64/kernel/r4k_genex.S b/arch/mips64/kernel/r4k_genex.S
index bfe00ae7d..eabd6b861 100644
--- a/arch/mips64/kernel/r4k_genex.S
+++ b/arch/mips64/kernel/r4k_genex.S
@@ -16,7 +16,7 @@
#include <asm/fpregdef.h>
#include <asm/mipsregs.h>
#include <asm/stackframe.h>
-#include <asm/cacheops.h>
+#include <asm/r4kcacheops.h>
.macro __build_clear_none
.endm
@@ -72,8 +72,8 @@
__BUILD_clear_\clear
.set at
__BUILD_\verbose \exception
+ move a0, sp
jal do_\handler
- move a0, sp
j ret_from_sys_call
nop
END(handle_\exception)