aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJungseok Lee <jays.lee@samsung.com>2014-05-12 05:40:30 -0400
committerCatalin Marinas <catalin.marinas@arm.com>2014-07-17 11:02:32 -0400
commitac7b406c1a9d50ddbf5e5cbce8ca4d68d36ac2db (patch)
tree797a7c5bee4dac86390cc639bf38a90168cafaab
parentda57a369d3bc5cd61db90f7e9555840381db9b09 (diff)
arm64: Use pr_* instead of printk
This patch fixed the following checkpatch complaint as using pr_* instead of printk. WARNING: printk() should include KERN_ facility level Signed-off-by: Jungseok Lee <jays.lee@samsung.com> Reviewed-by: Sungjinn Chung <sungjinn.chung@samsung.com> Acked-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
-rw-r--r--arch/arm64/kernel/traps.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm64/kernel/traps.c b/arch/arm64/kernel/traps.c
index c43cfa9b8304..506f7814e305 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,17 @@ 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} 340}
341 341
342void __pgd_error(const char *file, int line, unsigned long val) 342void __pgd_error(const char *file, int line, unsigned long val)
343{ 343{
344 printk("%s:%d: bad pgd %016lx.\n", file, line, val); 344 pr_crit("%s:%d: bad pgd %016lx.\n", file, line, val);
345} 345}
346 346
347void __init trap_init(void) 347void __init trap_init(void)