diff options
author | Paul Mackerras <paulus@samba.org> | 2014-06-12 02:53:08 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-08-05 02:34:28 -0400 |
commit | 9be9be2e9a966fe32c1a443c5197f829ecc3028c (patch) | |
tree | 874f5a970cb66d959dcb9f09b67696af845722e8 /arch/powerpc/kernel/process.c | |
parent | 16a05bff128de196fc17edd2beaa40d0f07ae04a (diff) |
powerpc: Reduce scariness of interrupt frames in stack traces
Some people see things like "Exception: 501" in stack traces in dmesg
and assume that means that something has gone badly wrong, when in
fact "Exception: 501" just means a device interrupt was taken.
This changes "Exception" to "interrupt" to make it clearer that we
are just recording the fact of a change in control flow rather than
some error condition.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/process.c')
-rw-r--r-- | arch/powerpc/kernel/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c index 9c34327e38ca..bf44ae962ab8 100644 --- a/arch/powerpc/kernel/process.c +++ b/arch/powerpc/kernel/process.c | |||
@@ -1581,7 +1581,7 @@ void show_stack(struct task_struct *tsk, unsigned long *stack) | |||
1581 | struct pt_regs *regs = (struct pt_regs *) | 1581 | struct pt_regs *regs = (struct pt_regs *) |
1582 | (sp + STACK_FRAME_OVERHEAD); | 1582 | (sp + STACK_FRAME_OVERHEAD); |
1583 | lr = regs->link; | 1583 | lr = regs->link; |
1584 | printk("--- Exception: %lx at %pS\n LR = %pS\n", | 1584 | printk("--- interrupt: %lx at %pS\n LR = %pS\n", |
1585 | regs->trap, (void *)regs->nip, (void *)lr); | 1585 | regs->trap, (void *)regs->nip, (void *)lr); |
1586 | firstframe = 1; | 1586 | firstframe = 1; |
1587 | } | 1587 | } |