aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/mips/math-emu/kernel_linkage.c4
-rw-r--r--include/asm-mips/fpu_emulator.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/arch/mips/math-emu/kernel_linkage.c b/arch/mips/math-emu/kernel_linkage.c
index 03d9a5560004..d187ab71c2ff 100644
--- a/arch/mips/math-emu/kernel_linkage.c
+++ b/arch/mips/math-emu/kernel_linkage.c
@@ -63,7 +63,6 @@ int fpu_emulator_save_context(struct sigcontext *sc)
63 &sc->sc_fpregs[i]); 63 &sc->sc_fpregs[i]);
64 } 64 }
65 err |= __put_user(current->thread.fpu.soft.fcr31, &sc->sc_fpc_csr); 65 err |= __put_user(current->thread.fpu.soft.fcr31, &sc->sc_fpc_csr);
66 err |= __put_user(fpuemuprivate.eir, &sc->sc_fpc_eir);
67 66
68 return err; 67 return err;
69} 68}
@@ -79,7 +78,6 @@ int fpu_emulator_restore_context(struct sigcontext *sc)
79 &sc->sc_fpregs[i]); 78 &sc->sc_fpregs[i]);
80 } 79 }
81 err |= __get_user(current->thread.fpu.soft.fcr31, &sc->sc_fpc_csr); 80 err |= __get_user(current->thread.fpu.soft.fcr31, &sc->sc_fpc_csr);
82 err |= __get_user(fpuemuprivate.eir, &sc->sc_fpc_eir);
83 81
84 return err; 82 return err;
85} 83}
@@ -100,7 +98,6 @@ int fpu_emulator_save_context32(struct sigcontext32 *sc)
100 &sc->sc_fpregs[i]); 98 &sc->sc_fpregs[i]);
101 } 99 }
102 err |= __put_user(current->thread.fpu.soft.fcr31, &sc->sc_fpc_csr); 100 err |= __put_user(current->thread.fpu.soft.fcr31, &sc->sc_fpc_csr);
103 err |= __put_user(fpuemuprivate.eir, &sc->sc_fpc_eir);
104 101
105 return err; 102 return err;
106} 103}
@@ -116,7 +113,6 @@ int fpu_emulator_restore_context32(struct sigcontext32 *sc)
116 &sc->sc_fpregs[i]); 113 &sc->sc_fpregs[i]);
117 } 114 }
118 err |= __get_user(current->thread.fpu.soft.fcr31, &sc->sc_fpc_csr); 115 err |= __get_user(current->thread.fpu.soft.fcr31, &sc->sc_fpc_csr);
119 err |= __get_user(fpuemuprivate.eir, &sc->sc_fpc_eir);
120 116
121 return err; 117 return err;
122} 118}
diff --git a/include/asm-mips/fpu_emulator.h b/include/asm-mips/fpu_emulator.h
index ea2fae10865f..42d883ba1a34 100644
--- a/include/asm-mips/fpu_emulator.h
+++ b/include/asm-mips/fpu_emulator.h
@@ -24,7 +24,6 @@
24#define _ASM_FPU_EMULATOR_H 24#define _ASM_FPU_EMULATOR_H
25 25
26struct mips_fpu_emulator_private { 26struct mips_fpu_emulator_private {
27 unsigned int eir;
28 struct { 27 struct {
29 unsigned int emulated; 28 unsigned int emulated;
30 unsigned int loads; 29 unsigned int loads;