forked from Minki/linux
metag: Remove duplicate KERN_<LEVEL> prefix
Use a bare printk to avoid a duplicate KERN_<LEVEL> in logging output. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: James Hogan <james.hogan@imgtec.com>
This commit is contained in:
parent
986724dd35
commit
fb2bb461e2
@ -187,7 +187,7 @@ bad_area_nosemaphore:
|
|||||||
|
|
||||||
if (show_unhandled_signals && unhandled_signal(tsk, SIGSEGV) &&
|
if (show_unhandled_signals && unhandled_signal(tsk, SIGSEGV) &&
|
||||||
printk_ratelimit()) {
|
printk_ratelimit()) {
|
||||||
pr_info("%s%s[%d]: segfault at %lx pc %08x sp %08x write %d trap %#x (%s)",
|
printk("%s%s[%d]: segfault at %lx pc %08x sp %08x write %d trap %#x (%s)",
|
||||||
task_pid_nr(tsk) > 1 ? KERN_INFO : KERN_EMERG,
|
task_pid_nr(tsk) > 1 ? KERN_INFO : KERN_EMERG,
|
||||||
tsk->comm, task_pid_nr(tsk), address,
|
tsk->comm, task_pid_nr(tsk), address,
|
||||||
regs->ctx.CurrPC, regs->ctx.AX[0].U0,
|
regs->ctx.CurrPC, regs->ctx.AX[0].U0,
|
||||||
|
Loading…
Reference in New Issue
Block a user