diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2019-01-29 16:44:38 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2019-06-20 23:29:23 +0200 |
commit | 49b38c345baa1bfdb79ff7f546755c29ea59e028 (patch) | |
tree | b3b966c69f1d5a8cc9e26b5b880cf9c103f2e73c /arch/arm/kernel | |
parent | ARM: add "8<--- cut here ---" to kernel dumps (diff) | |
download | linux-49b38c345baa1bfdb79ff7f546755c29ea59e028.tar.xz linux-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')
-rw-r--r-- | arch/arm/kernel/traps.c | 2 |
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 |