summaryrefslogtreecommitdiff
path: root/arch/mips/kernel/signal32.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-12-07 20:50:48 +0300
committer <ralf@denk.linux-mips.net>2006-01-10 16:39:05 +0300
commitc4fa6348750c68241a14fc255d66b5079439cb30 (patch)
treed747815c2cf2b55af86dd1b0cc324402fc23995a /arch/mips/kernel/signal32.c
parent07a801def46f412a7ce6de9553dfd8895bf33356 (diff)
downloadlinux-c4fa6348750c68241a14fc255d66b5079439cb30.tar.xz
MIPS: DSP: Put DSPcontrol register into the right place in the signal frame.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/signal32.c')
-rw-r--r--arch/mips/kernel/signal32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/signal32.c b/arch/mips/kernel/signal32.c
index c856dbc52abb..98b185bbc947 100644
--- a/arch/mips/kernel/signal32.c
+++ b/arch/mips/kernel/signal32.c
@@ -588,7 +588,7 @@ static inline int setup_sigcontext32(struct pt_regs *regs,
err |= __put_user(regs->hi, &sc->sc_mdhi);
err |= __put_user(regs->lo, &sc->sc_mdlo);
if (cpu_has_dsp) {
- err |= __put_user(rddsp(DSP_MASK), &sc->sc_hi1);
+ err |= __put_user(rddsp(DSP_MASK), &sc->sc_dsp);
err |= __put_user(mfhi1(), &sc->sc_hi1);
err |= __put_user(mflo1(), &sc->sc_lo1);
err |= __put_user(mfhi2(), &sc->sc_hi2);