Skip to content

Commit

Permalink
FPU emulator garbage collection.
Browse files Browse the repository at this point in the history
    
First argument of fpu_emulator_cop1Handler() was unused.
    
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Oct 29, 2005
1 parent 178086c commit 12616ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions arch/mips/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ extern asmlinkage void handle_dsp(void);
extern asmlinkage void handle_mcheck(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);

void (*board_be_init)(void);
Expand Down Expand Up @@ -589,7 +589,7 @@ asmlinkage void do_fpe(struct pt_regs *regs, unsigned long fcr31)
preempt_enable();

/* Run the emulator */
sig = fpu_emulator_cop1Handler (0, regs,
sig = fpu_emulator_cop1Handler (regs,
&current->thread.fpu.soft);

preempt_disable();
Expand Down Expand Up @@ -743,7 +743,7 @@ asmlinkage void do_cpu(struct pt_regs *regs)
preempt_enable();

if (!cpu_has_fpu) {
int sig = fpu_emulator_cop1Handler(0, regs,
int sig = fpu_emulator_cop1Handler(regs,
&current->thread.fpu.soft);
if (sig)
force_sig(sig, current);
Expand Down
2 changes: 1 addition & 1 deletion arch/mips/math-emu/cp1emu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1287,7 +1287,7 @@ static int fpu_emu(struct pt_regs *xcp, struct mips_fpu_soft_struct *ctx,
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)
{
unsigned long oldepc, prevepc;
Expand Down

0 comments on commit 12616ed

Please sign in to comment.