mirror of https://gitee.com/openkylin/linux.git
power: use show_stack_loglvl()
Aligning with other watchdog messages just before panic - use KERN_EMERG. Signed-off-by: Dmitry Safonov <dima@arista.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Len Brown <len.brown@intel.com> Cc: Pavel Machek <pavel@ucw.cz> Link: http://lkml.kernel.org/r/20200418201944.482088-47-dima@arista.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
9ed5b01a36
commit
3f0543780e
|
@ -519,7 +519,7 @@ static void dpm_watchdog_handler(struct timer_list *t)
|
|||
struct dpm_watchdog *wd = from_timer(wd, t, timer);
|
||||
|
||||
dev_emerg(wd->dev, "**** DPM device timeout ****\n");
|
||||
show_stack(wd->tsk, NULL);
|
||||
show_stack_loglvl(wd->tsk, NULL, KERN_EMERG);
|
||||
panic("%s %s: unrecoverable failure\n",
|
||||
dev_driver_string(wd->dev), dev_name(wd->dev));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue