]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
FPU emulator garbage collection.
authorRalf Baechle <ralf@linux-mips.org>
Tue, 18 Oct 2005 09:26:46 +0000 (10:26 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 29 Oct 2005 18:32:43 +0000 (19:32 +0100)
First argument of fpu_emulator_cop1Handler() was unused.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/traps.c
arch/mips/math-emu/cp1emu.c

index a3c0051269699473de5f7ab315c19b6f85dc91f3..6f3ff96906864e29244670df11a05e509820bd91 100644 (file)
@@ -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);
@@ -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();
@@ -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);
index 096780ce939de880e778806147a599a1fe1bb2c5..99ffaa3d52b6dee120b7ca338fcb4743ded18a36 100644 (file)
@@ -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;