aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-10-18 05:26:46 -0400
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 14:32:43 -0400
commit12616ed202ba66af6e1386df02d06c72d7386339 (patch)
tree1e003d71846e85d0e0f377b855ad9602f66e9dda /arch/mips
parent178086c86ac9738a76f1462e9ee4cbe8fd3b8c51 (diff)
FPU emulator garbage collection.
First argument of fpu_emulator_cop1Handler() was unused. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/kernel/traps.c6
-rw-r--r--arch/mips/math-emu/cp1emu.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c
index a3c005126969..6f3ff9690686 100644
--- a/arch/mips/kernel/traps.c
+++ b/arch/mips/kernel/traps.c
@@ -63,7 +63,7 @@ extern asmlinkage void handle_dsp(void);
63extern asmlinkage void handle_mcheck(void); 63extern asmlinkage void handle_mcheck(void);
64extern asmlinkage void handle_reserved(void); 64extern asmlinkage void handle_reserved(void);
65 65
66extern int fpu_emulator_cop1Handler(int xcptno, struct pt_regs *xcp, 66extern int fpu_emulator_cop1Handler(struct pt_regs *xcp,
67 struct mips_fpu_soft_struct *ctx); 67 struct mips_fpu_soft_struct *ctx);
68 68
69void (*board_be_init)(void); 69void (*board_be_init)(void);
@@ -589,7 +589,7 @@ asmlinkage void do_fpe(struct pt_regs *regs, unsigned long fcr31)
589 preempt_enable(); 589 preempt_enable();
590 590
591 /* Run the emulator */ 591 /* Run the emulator */
592 sig = fpu_emulator_cop1Handler (0, regs, 592 sig = fpu_emulator_cop1Handler (regs,
593 &current->thread.fpu.soft); 593 &current->thread.fpu.soft);
594 594
595 preempt_disable(); 595 preempt_disable();
@@ -743,7 +743,7 @@ asmlinkage void do_cpu(struct pt_regs *regs)
743 preempt_enable(); 743 preempt_enable();
744 744
745 if (!cpu_has_fpu) { 745 if (!cpu_has_fpu) {
746 int sig = fpu_emulator_cop1Handler(0, regs, 746 int sig = fpu_emulator_cop1Handler(regs,
747 &current->thread.fpu.soft); 747 &current->thread.fpu.soft);
748 if (sig) 748 if (sig)
749 force_sig(sig, current); 749 force_sig(sig, current);
diff --git a/arch/mips/math-emu/cp1emu.c b/arch/mips/math-emu/cp1emu.c
index 096780ce939d..99ffaa3d52b6 100644
--- a/arch/mips/math-emu/cp1emu.c
+++ b/arch/mips/math-emu/cp1emu.c
@@ -1287,7 +1287,7 @@ static int fpu_emu(struct pt_regs *xcp, struct mips_fpu_soft_struct *ctx,
1287 return 0; 1287 return 0;
1288} 1288}
1289 1289
1290int fpu_emulator_cop1Handler(int xcptno, struct pt_regs *xcp, 1290int fpu_emulator_cop1Handler(struct pt_regs *xcp,
1291 struct mips_fpu_soft_struct *ctx) 1291 struct mips_fpu_soft_struct *ctx)
1292{ 1292{
1293 unsigned long oldepc, prevepc; 1293 unsigned long oldepc, prevepc;