aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/traps.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2019-01-29 15:44:38 +0000
committerRussell King <rmk+kernel@armlinux.org.uk>2019-06-20 22:29:23 +0100
commit49b38c345baa1bfdb79ff7f546755c29ea59e028 (patch)
treeb3b966c69f1d5a8cc9e26b5b880cf9c103f2e73c /arch/arm/kernel/traps.c
parentARM: add "8<--- cut here ---" to kernel dumps (diff)
downloadlinux-dev-49b38c345baa1bfdb79ff7f546755c29ea59e028.tar.xz
linux-dev-49b38c345baa1bfdb79ff7f546755c29ea59e028.zip
ARM: arrange show_pte() to issue severity-based messages
show_pte() is used to print information after various other kernel messages, which themselves are printed at different severities. Include the severity in the show_pte() information so that associated messages are printed with the same severity. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/kernel/traps.c')
-rw-r--r--arch/arm/kernel/traps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c
index 30bffdeac3ac..3d7b48de2aea 100644
--- a/arch/arm/kernel/traps.c
+++ b/arch/arm/kernel/traps.c
@@ -729,7 +729,7 @@ baddataabort(int code, unsigned long instr, struct pt_regs *regs)
pr_err("[%d] %s: bad data abort: code %d instr 0x%08lx\n",
task_pid_nr(current), current->comm, code, instr);
dump_instr(KERN_ERR, regs);
- show_pte(current->mm, addr);
+ show_pte(KERN_ERR, current->mm, addr);
}
#endif