diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2019-01-29 18:44:38 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2019-06-21 00:29:23 +0300 |
commit | 49b38c345baa1bfdb79ff7f546755c29ea59e028 (patch) | |
tree | b3b966c69f1d5a8cc9e26b5b880cf9c103f2e73c /arch/arm/include | |
parent | bafeb7a0d9213e64a0e09d149b52abeb0c8798b5 (diff) | |
download | linux-49b38c345baa1bfdb79ff7f546755c29ea59e028.tar.xz |
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/include')
-rw-r--r-- | arch/arm/include/asm/bug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/bug.h b/arch/arm/include/asm/bug.h index 36c951dd23b8..deef4d0cb3b5 100644 --- a/arch/arm/include/asm/bug.h +++ b/arch/arm/include/asm/bug.h @@ -85,7 +85,7 @@ void hook_ifault_code(int nr, int (*fn)(unsigned long, unsigned int, extern asmlinkage void c_backtrace(unsigned long fp, int pmode); struct mm_struct; -extern void show_pte(struct mm_struct *mm, unsigned long addr); +void show_pte(const char *lvl, struct mm_struct *mm, unsigned long addr); extern void __show_regs(struct pt_regs *); #endif |