diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-05-13 23:52:56 -0400 |
---|---|---|
committer | Paul Mundt <lethal@hera.kernel.org> | 2007-06-07 22:43:36 -0400 |
commit | e08f457c7c0cc7720f28349f8780ea752c063441 (patch) | |
tree | 7b82666f2002d57dc57d022daf90c778265159e9 /arch/sh/kernel/traps.c | |
parent | 7a302a9674593259866de4a9d5ae8edc03dc1934 (diff) |
sh: __user annotations for __get/__put_user().
This adds in some more __user annotations. These weren't being
handled properly in some of the __get_user and __put_user paths,
so tidy those up.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/traps.c')
-rw-r--r-- | arch/sh/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/traps.c b/arch/sh/kernel/traps.c index 5b75cb6f8f9b..299b8cf0f512 100644 --- a/arch/sh/kernel/traps.c +++ b/arch/sh/kernel/traps.c | |||
@@ -581,7 +581,7 @@ uspace_segv: | |||
581 | info.si_signo = SIGBUS; | 581 | info.si_signo = SIGBUS; |
582 | info.si_errno = 0; | 582 | info.si_errno = 0; |
583 | info.si_code = si_code; | 583 | info.si_code = si_code; |
584 | info.si_addr = (void *) address; | 584 | info.si_addr = (void __user *)address; |
585 | force_sig_info(SIGBUS, &info, current); | 585 | force_sig_info(SIGBUS, &info, current); |
586 | } else { | 586 | } else { |
587 | if (regs->pc & 1) | 587 | if (regs->pc & 1) |