diff options
author | Mike Frysinger <vapier.adi@gmail.com> | 2008-03-06 13:37:41 -0500 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-03-06 13:37:41 -0500 |
commit | 0ddeeca25ce33686262459e2387f57bd09574e47 (patch) | |
tree | cd33798b51e358260e2089a97e9e3e3de6d8e02b /arch/blackfin/kernel/signal.c | |
parent | 1307a65130963b061fbaca308b228a0f693a4495 (diff) |
[Blackfin] arch: add missing __user marking to ss_sp member of signalstack and a few userspace system functions
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/kernel/signal.c')
-rw-r--r-- | arch/blackfin/kernel/signal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/kernel/signal.c b/arch/blackfin/kernel/signal.c index 5564c9588aa8..71cfcd28b39f 100644 --- a/arch/blackfin/kernel/signal.c +++ b/arch/blackfin/kernel/signal.c | |||
@@ -55,13 +55,13 @@ struct rt_sigframe { | |||
55 | struct ucontext uc; | 55 | struct ucontext uc; |
56 | }; | 56 | }; |
57 | 57 | ||
58 | asmlinkage int sys_sigaltstack(const stack_t * uss, stack_t * uoss) | 58 | asmlinkage int sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss) |
59 | { | 59 | { |
60 | return do_sigaltstack(uss, uoss, rdusp()); | 60 | return do_sigaltstack(uss, uoss, rdusp()); |
61 | } | 61 | } |
62 | 62 | ||
63 | static inline int | 63 | static inline int |
64 | rt_restore_sigcontext(struct pt_regs *regs, struct sigcontext *sc, int *pr0) | 64 | rt_restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc, int *pr0) |
65 | { | 65 | { |
66 | unsigned long usp = 0; | 66 | unsigned long usp = 0; |
67 | int err = 0; | 67 | int err = 0; |