diff options
Diffstat (limited to 'arch/arm26')
-rw-r--r-- | arch/arm26/kernel/irq.c | 3 | ||||
-rw-r--r-- | arch/arm26/kernel/ptrace.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm26/kernel/irq.c b/arch/arm26/kernel/irq.c index f3cc1036e5bc..0934e6fba606 100644 --- a/arch/arm26/kernel/irq.c +++ b/arch/arm26/kernel/irq.c | |||
@@ -141,7 +141,7 @@ int show_interrupts(struct seq_file *p, void *v) | |||
141 | if (i < NR_IRQS) { | 141 | if (i < NR_IRQS) { |
142 | action = irq_desc[i].action; | 142 | action = irq_desc[i].action; |
143 | if (!action) | 143 | if (!action) |
144 | continue; | 144 | goto out; |
145 | seq_printf(p, "%3d: %10u ", i, kstat_irqs(i)); | 145 | seq_printf(p, "%3d: %10u ", i, kstat_irqs(i)); |
146 | seq_printf(p, " %s", action->name); | 146 | seq_printf(p, " %s", action->name); |
147 | for (action = action->next; action; action = action->next) { | 147 | for (action = action->next; action; action = action->next) { |
@@ -152,6 +152,7 @@ int show_interrupts(struct seq_file *p, void *v) | |||
152 | show_fiq_list(p, v); | 152 | show_fiq_list(p, v); |
153 | seq_printf(p, "Err: %10lu\n", irq_err_count); | 153 | seq_printf(p, "Err: %10lu\n", irq_err_count); |
154 | } | 154 | } |
155 | out: | ||
155 | return 0; | 156 | return 0; |
156 | } | 157 | } |
157 | 158 | ||
diff --git a/arch/arm26/kernel/ptrace.c b/arch/arm26/kernel/ptrace.c index 3c3371d4683e..282e24d79328 100644 --- a/arch/arm26/kernel/ptrace.c +++ b/arch/arm26/kernel/ptrace.c | |||
@@ -527,7 +527,7 @@ static int ptrace_getfpregs(struct task_struct *tsk, void *ufp) | |||
527 | static int ptrace_setfpregs(struct task_struct *tsk, void *ufp) | 527 | static int ptrace_setfpregs(struct task_struct *tsk, void *ufp) |
528 | { | 528 | { |
529 | set_stopped_child_used_math(tsk); | 529 | set_stopped_child_used_math(tsk); |
530 | return copy_from_user(&task_threas_info(tsk)->fpstate, ufp, | 530 | return copy_from_user(&task_thread_info(tsk)->fpstate, ufp, |
531 | sizeof(struct user_fp)) ? -EFAULT : 0; | 531 | sizeof(struct user_fp)) ? -EFAULT : 0; |
532 | } | 532 | } |
533 | 533 | ||