diff options
author | Mike Frysinger <michael.frysinger@analog.com> | 2007-07-12 10:58:21 -0400 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-07-12 10:58:21 -0400 |
commit | 1f83b8f148a1eb967d2a628cbb741cd56fb54572 (patch) | |
tree | 43b56238822ab35ec90a9ee9e9c014247950622f /arch/blackfin/kernel/signal.c | |
parent | 669b792c77bbc30e9f4d9c95dbc918dc348c49c2 (diff) |
Blackfin arch: cleanup warnings from checkpatch -- no functional changes
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/kernel/signal.c')
-rw-r--r-- | arch/blackfin/kernel/signal.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/blackfin/kernel/signal.c b/arch/blackfin/kernel/signal.c index 316e65c3439d..5564c9588aa8 100644 --- a/arch/blackfin/kernel/signal.c +++ b/arch/blackfin/kernel/signal.c | |||
@@ -34,8 +34,8 @@ | |||
34 | #include <linux/personality.h> | 34 | #include <linux/personality.h> |
35 | #include <linux/binfmts.h> | 35 | #include <linux/binfmts.h> |
36 | #include <linux/freezer.h> | 36 | #include <linux/freezer.h> |
37 | #include <linux/uaccess.h> | ||
37 | 38 | ||
38 | #include <asm/uaccess.h> | ||
39 | #include <asm/cacheflush.h> | 39 | #include <asm/cacheflush.h> |
40 | #include <asm/ucontext.h> | 40 | #include <asm/ucontext.h> |
41 | 41 | ||
@@ -124,7 +124,7 @@ asmlinkage int do_rt_sigreturn(unsigned long __unused) | |||
124 | 124 | ||
125 | return r0; | 125 | return r0; |
126 | 126 | ||
127 | badframe: | 127 | badframe: |
128 | force_sig(SIGSEGV, current); | 128 | force_sig(SIGSEGV, current); |
129 | return 0; | 129 | return 0; |
130 | } | 130 | } |
@@ -239,7 +239,7 @@ setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t * info, | |||
239 | 239 | ||
240 | return 0; | 240 | return 0; |
241 | 241 | ||
242 | give_sigsegv: | 242 | give_sigsegv: |
243 | if (sig == SIGSEGV) | 243 | if (sig == SIGSEGV) |
244 | ka->sa.sa_handler = SIG_DFL; | 244 | ka->sa.sa_handler = SIG_DFL; |
245 | force_sig(SIGSEGV, current); | 245 | force_sig(SIGSEGV, current); |
@@ -263,7 +263,7 @@ handle_restart(struct pt_regs *regs, struct k_sigaction *ka, int has_handler) | |||
263 | } | 263 | } |
264 | /* fallthrough */ | 264 | /* fallthrough */ |
265 | case -ERESTARTNOINTR: | 265 | case -ERESTARTNOINTR: |
266 | do_restart: | 266 | do_restart: |
267 | regs->p0 = regs->orig_p0; | 267 | regs->p0 = regs->orig_p0; |
268 | regs->r0 = regs->orig_r0; | 268 | regs->r0 = regs->orig_r0; |
269 | regs->pc -= 2; | 269 | regs->pc -= 2; |
@@ -341,7 +341,7 @@ asmlinkage void do_signal(struct pt_regs *regs) | |||
341 | return; | 341 | return; |
342 | } | 342 | } |
343 | 343 | ||
344 | no_signal: | 344 | no_signal: |
345 | /* Did we come from a system call? */ | 345 | /* Did we come from a system call? */ |
346 | if (regs->orig_p0 >= 0) | 346 | if (regs->orig_p0 >= 0) |
347 | /* Restart the system call - no handlers present */ | 347 | /* Restart the system call - no handlers present */ |