Commit 12616ed2 authored by Ralf Baechle's avatar Ralf Baechle

FPU emulator garbage collection.

    
First argument of fpu_emulator_cop1Handler() was unused.
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 178086c8
...@@ -63,7 +63,7 @@ extern asmlinkage void handle_dsp(void); ...@@ -63,7 +63,7 @@ extern asmlinkage void handle_dsp(void);
extern asmlinkage void handle_mcheck(void); extern asmlinkage void handle_mcheck(void);
extern asmlinkage void handle_reserved(void); extern asmlinkage void handle_reserved(void);
extern int fpu_emulator_cop1Handler(int xcptno, struct pt_regs *xcp, extern int fpu_emulator_cop1Handler(struct pt_regs *xcp,
struct mips_fpu_soft_struct *ctx); struct mips_fpu_soft_struct *ctx);
void (*board_be_init)(void); void (*board_be_init)(void);
...@@ -589,7 +589,7 @@ asmlinkage void do_fpe(struct pt_regs *regs, unsigned long fcr31) ...@@ -589,7 +589,7 @@ asmlinkage void do_fpe(struct pt_regs *regs, unsigned long fcr31)
preempt_enable(); preempt_enable();
/* Run the emulator */ /* Run the emulator */
sig = fpu_emulator_cop1Handler (0, regs, sig = fpu_emulator_cop1Handler (regs,
&current->thread.fpu.soft); &current->thread.fpu.soft);
preempt_disable(); preempt_disable();
...@@ -743,7 +743,7 @@ asmlinkage void do_cpu(struct pt_regs *regs) ...@@ -743,7 +743,7 @@ asmlinkage void do_cpu(struct pt_regs *regs)
preempt_enable(); preempt_enable();
if (!cpu_has_fpu) { if (!cpu_has_fpu) {
int sig = fpu_emulator_cop1Handler(0, regs, int sig = fpu_emulator_cop1Handler(regs,
&current->thread.fpu.soft); &current->thread.fpu.soft);
if (sig) if (sig)
force_sig(sig, current); force_sig(sig, current);
......
...@@ -1287,7 +1287,7 @@ static int fpu_emu(struct pt_regs *xcp, struct mips_fpu_soft_struct *ctx, ...@@ -1287,7 +1287,7 @@ static int fpu_emu(struct pt_regs *xcp, struct mips_fpu_soft_struct *ctx,
return 0; return 0;
} }
int fpu_emulator_cop1Handler(int xcptno, struct pt_regs *xcp, int fpu_emulator_cop1Handler(struct pt_regs *xcp,
struct mips_fpu_soft_struct *ctx) struct mips_fpu_soft_struct *ctx)
{ {
unsigned long oldepc, prevepc; unsigned long oldepc, prevepc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment