]> git.baikalelectronics.ru Git - kernel.git/commit
panic: add cpu/pid to warn_slowpath_common in WARNING printk()s
authorAlex Thorlton <athorlton@sgi.com>
Mon, 8 Jul 2013 23:00:42 +0000 (16:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Jul 2013 17:33:25 +0000 (10:33 -0700)
commitc396f90f848b15270917bf34515daddb01d1893e
treeb7a6b377496550a7fe6acb9a37ab2bc8d0f8bc7d
parent3b5243908025590d7cd487abf1c872f21adb70cb
panic: add cpu/pid to warn_slowpath_common in WARNING printk()s

Add the cpu/pid that called WARN() so that the stack traces can be
matched up with the WARNING messages.

[akpm@linux-foundation.org: remove stray quote]
Signed-off-by: Alex Thorlton <athorlton@sgi.com>
Reviewed-by: Robin Holt <holt@sgi.com>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Vikram Mulukutla <markivx@codeaurora.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/panic.c