diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-03-01 14:22:29 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:30:50 -0400 |
commit | fe00f943e0ef98b4057abcc2940d631a975b43cd (patch) | |
tree | c036ab8269ac86485130a083330229a01d319557 /arch/mips/mm/fault.c | |
parent | 14f18b7f7e58de9a34c4b5fd38d5f73f22fba7ac (diff) |
Sparseify MIPS.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm/fault.c')
-rw-r--r-- | arch/mips/mm/fault.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/mm/fault.c b/arch/mips/mm/fault.c index 0eb43151f10a..2d9624fd10ec 100644 --- a/arch/mips/mm/fault.c +++ b/arch/mips/mm/fault.c | |||
@@ -141,7 +141,7 @@ bad_area_nosemaphore: | |||
141 | info.si_signo = SIGSEGV; | 141 | info.si_signo = SIGSEGV; |
142 | info.si_errno = 0; | 142 | info.si_errno = 0; |
143 | /* info.si_code has been set above */ | 143 | /* info.si_code has been set above */ |
144 | info.si_addr = (void *) address; | 144 | info.si_addr = (void __user *) address; |
145 | force_sig_info(SIGSEGV, &info, tsk); | 145 | force_sig_info(SIGSEGV, &info, tsk); |
146 | return; | 146 | return; |
147 | } | 147 | } |
@@ -197,7 +197,7 @@ do_sigbus: | |||
197 | info.si_signo = SIGBUS; | 197 | info.si_signo = SIGBUS; |
198 | info.si_errno = 0; | 198 | info.si_errno = 0; |
199 | info.si_code = BUS_ADRERR; | 199 | info.si_code = BUS_ADRERR; |
200 | info.si_addr = (void *) address; | 200 | info.si_addr = (void __user *) address; |
201 | force_sig_info(SIGBUS, &info, tsk); | 201 | force_sig_info(SIGBUS, &info, tsk); |
202 | 202 | ||
203 | return; | 203 | return; |