git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
arch
/
mips
/
math-emu
/
cp1emu.c
diff --git
a/arch/mips/math-emu/cp1emu.c
b/arch/mips/math-emu/cp1emu.c
index
3f0d5d2
..
80531b3
100644
(file)
--- a/
arch/mips/math-emu/cp1emu.c
+++ b/
arch/mips/math-emu/cp1emu.c
@@
-38,8
+38,6
@@
#include <asm/inst.h>
#include <asm/bootinfo.h>
#include <asm/inst.h>
#include <asm/bootinfo.h>
-#include <asm/cpu.h>
-#include <asm/cpu-features.h>
#include <asm/processor.h>
#include <asm/ptrace.h>
#include <asm/signal.h>
#include <asm/processor.h>
#include <asm/ptrace.h>
#include <asm/signal.h>
@@
-1233,7
+1231,8
@@
static int fpu_emu(struct pt_regs *xcp, struct mips_fpu_struct *ctx,
return 0;
}
return 0;
}
-int fpu_emulator_cop1Handler(struct pt_regs *xcp, struct mips_fpu_struct *ctx)
+int fpu_emulator_cop1Handler(struct pt_regs *xcp, struct mips_fpu_struct *ctx,
+ int has_fpu)
{
unsigned long oldepc, prevepc;
mips_instruction insn;
{
unsigned long oldepc, prevepc;
mips_instruction insn;
@@
-1263,7
+1262,7
@@
int fpu_emulator_cop1Handler(struct pt_regs *xcp, struct mips_fpu_struct *ctx)
ieee754_csr.rm = mips_rm[ieee754_csr.rm];
}
ieee754_csr.rm = mips_rm[ieee754_csr.rm];
}
- if (
cpu_
has_fpu)
+ if (has_fpu)
break;
if (sig)
break;
break;
if (sig)
break;