diff options
Diffstat (limited to 'arch/sparc64/kernel/signal.c')
-rw-r--r-- | arch/sparc64/kernel/signal.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/signal.c b/arch/sparc64/kernel/signal.c index fb13775b3682..9d51956e8e2f 100644 --- a/arch/sparc64/kernel/signal.c +++ b/arch/sparc64/kernel/signal.c | |||
@@ -32,6 +32,9 @@ | |||
32 | #include <asm/siginfo.h> | 32 | #include <asm/siginfo.h> |
33 | #include <asm/visasm.h> | 33 | #include <asm/visasm.h> |
34 | 34 | ||
35 | #include "entry.h" | ||
36 | #include "systbls.h" | ||
37 | |||
35 | #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP))) | 38 | #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP))) |
36 | 39 | ||
37 | /* {set, get}context() needed for 64-bit SparcLinux userland. */ | 40 | /* {set, get}context() needed for 64-bit SparcLinux userland. */ |
@@ -354,7 +357,7 @@ static int invalid_frame_pointer(void __user *fp, int fplen) | |||
354 | static inline int | 357 | static inline int |
355 | save_fpu_state(struct pt_regs *regs, __siginfo_fpu_t __user *fpu) | 358 | save_fpu_state(struct pt_regs *regs, __siginfo_fpu_t __user *fpu) |
356 | { | 359 | { |
357 | unsigned long *fpregs = (unsigned long *)(regs+1); | 360 | unsigned long *fpregs = current_thread_info()->fpregs; |
358 | unsigned long fprs; | 361 | unsigned long fprs; |
359 | int err = 0; | 362 | int err = 0; |
360 | 363 | ||