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/ptrace.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/ptrace.c')
-rw-r--r-- | arch/blackfin/kernel/ptrace.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/blackfin/kernel/ptrace.c b/arch/blackfin/kernel/ptrace.c index e718bb4a1ef0..ed800c7456dd 100644 --- a/arch/blackfin/kernel/ptrace.c +++ b/arch/blackfin/kernel/ptrace.c | |||
@@ -36,8 +36,8 @@ | |||
36 | #include <linux/ptrace.h> | 36 | #include <linux/ptrace.h> |
37 | #include <linux/user.h> | 37 | #include <linux/user.h> |
38 | #include <linux/signal.h> | 38 | #include <linux/signal.h> |
39 | #include <linux/uaccess.h> | ||
39 | 40 | ||
40 | #include <asm/uaccess.h> | ||
41 | #include <asm/page.h> | 41 | #include <asm/page.h> |
42 | #include <asm/pgtable.h> | 42 | #include <asm/pgtable.h> |
43 | #include <asm/system.h> | 43 | #include <asm/system.h> |
@@ -122,7 +122,7 @@ static inline long get_reg(struct task_struct *task, int regno) | |||
122 | static inline int | 122 | static inline int |
123 | put_reg(struct task_struct *task, int regno, unsigned long data) | 123 | put_reg(struct task_struct *task, int regno, unsigned long data) |
124 | { | 124 | { |
125 | char * reg_ptr; | 125 | char *reg_ptr; |
126 | 126 | ||
127 | struct pt_regs *regs = | 127 | struct pt_regs *regs = |
128 | (struct pt_regs *)((unsigned long)task_stack_page(task) + | 128 | (struct pt_regs *)((unsigned long)task_stack_page(task) + |
@@ -146,7 +146,7 @@ put_reg(struct task_struct *task, int regno, unsigned long data) | |||
146 | break; | 146 | break; |
147 | default: | 147 | default: |
148 | if (regno <= 216) | 148 | if (regno <= 216) |
149 | *(long *)(reg_ptr + regno) = data; | 149 | *(long *)(reg_ptr + regno) = data; |
150 | } | 150 | } |
151 | return 0; | 151 | return 0; |
152 | } | 152 | } |