aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/traps.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/kernel/traps.c')
-rw-r--r--arch/arm64/kernel/traps.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/arch/arm64/kernel/traps.c b/arch/arm64/kernel/traps.c
index c43cfa9b8304..02cd3f023e9a 100644
--- a/arch/arm64/kernel/traps.c
+++ b/arch/arm64/kernel/traps.c
@@ -156,7 +156,7 @@ static void dump_backtrace(struct pt_regs *regs, struct task_struct *tsk)
156 frame.pc = thread_saved_pc(tsk); 156 frame.pc = thread_saved_pc(tsk);
157 } 157 }
158 158
159 printk("Call trace:\n"); 159 pr_emerg("Call trace:\n");
160 while (1) { 160 while (1) {
161 unsigned long where = frame.pc; 161 unsigned long where = frame.pc;
162 int ret; 162 int ret;
@@ -331,17 +331,22 @@ asmlinkage void bad_mode(struct pt_regs *regs, int reason, unsigned int esr)
331 331
332void __pte_error(const char *file, int line, unsigned long val) 332void __pte_error(const char *file, int line, unsigned long val)
333{ 333{
334 printk("%s:%d: bad pte %016lx.\n", file, line, val); 334 pr_crit("%s:%d: bad pte %016lx.\n", file, line, val);
335} 335}
336 336
337void __pmd_error(const char *file, int line, unsigned long val) 337void __pmd_error(const char *file, int line, unsigned long val)
338{ 338{
339 printk("%s:%d: bad pmd %016lx.\n", file, line, val); 339 pr_crit("%s:%d: bad pmd %016lx.\n", file, line, val);
340}
341
342void __pud_error(const char *file, int line, unsigned long val)
343{
344 pr_crit("%s:%d: bad pud %016lx.\n", file, line, val);
340} 345}
341 346
342void __pgd_error(const char *file, int line, unsigned long val) 347void __pgd_error(const char *file, int line, unsigned long val)
343{ 348{
344 printk("%s:%d: bad pgd %016lx.\n", file, line, val); 349 pr_crit("%s:%d: bad pgd %016lx.\n", file, line, val);
345} 350}
346 351
347void __init trap_init(void) 352void __init trap_init(void)