aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/signal_64.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-01-19 01:40:03 -0500
committerPaul Mundt <lethal@linux-sh.org>2010-01-19 01:40:03 -0500
commit3ef2932b8c1fc89408ef1fd4b1e1c2caabc7f07d (patch)
tree0b12eea51d98e1edd1ef891ed7fe0a7feec4341c /arch/sh/kernel/signal_64.c
parentcb6d04468d16de5a6161167ec7e76a43be540a80 (diff)
sh64: Fix up the build for the thread_xstate changes.
This updates the sh64 processor info with the sh32 changes in order to tie in to the generic task_xstate management code. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/signal_64.c')
-rw-r--r--arch/sh/kernel/signal_64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/kernel/signal_64.c b/arch/sh/kernel/signal_64.c
index ce76dbdef294..4733bfc59d39 100644
--- a/arch/sh/kernel/signal_64.c
+++ b/arch/sh/kernel/signal_64.c
@@ -295,7 +295,7 @@ restore_sigcontext_fpu(struct pt_regs *regs, struct sigcontext __user *sc)
295 regs->sr |= SR_FD; 295 regs->sr |= SR_FD;
296 } 296 }
297 297
298 err |= __copy_from_user(&current->thread.fpu.hard, &sc->sc_fpregs[0], 298 err |= __copy_from_user(&current->thread.xstate->hardfpu, &sc->sc_fpregs[0],
299 (sizeof(long long) * 32) + (sizeof(int) * 1)); 299 (sizeof(long long) * 32) + (sizeof(int) * 1));
300 300
301 return err; 301 return err;
@@ -320,7 +320,7 @@ setup_sigcontext_fpu(struct pt_regs *regs, struct sigcontext __user *sc)
320 regs->sr |= SR_FD; 320 regs->sr |= SR_FD;
321 } 321 }
322 322
323 err |= __copy_to_user(&sc->sc_fpregs[0], &current->thread.fpu.hard, 323 err |= __copy_to_user(&sc->sc_fpregs[0], &current->thread.xstate->hardfpu,
324 (sizeof(long long) * 32) + (sizeof(int) * 1)); 324 (sizeof(long long) * 32) + (sizeof(int) * 1));
325 clear_used_math(); 325 clear_used_math();
326 326