summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-12-07 17:50:48 +0000
committer <ralf@denk.linux-mips.net>2006-01-10 13:39:05 +0000
commitc4fa6348750c68241a14fc255d66b5079439cb30 (patch)
treed747815c2cf2b55af86dd1b0cc324402fc23995a /arch/mips
parent07a801def46f412a7ce6de9553dfd8895bf33356 (diff)
downloadkernel-crypto-c4fa6348750c68241a14fc255d66b5079439cb30.tar.gz
kernel-crypto-c4fa6348750c68241a14fc255d66b5079439cb30.tar.xz
kernel-crypto-c4fa6348750c68241a14fc255d66b5079439cb30.zip
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')
-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 c856dbc52ab..98b185bbc94 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);