]> git.karo-electronics.de Git - karo-tx-linux.git/commit
panic: add cpu/pid to warn_slowpath_common in WARNING printk()s
authorAlex Thorlton <athorlton@sgi.com>
Thu, 9 May 2013 23:57:21 +0000 (09:57 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 21 May 2013 04:17:44 +0000 (14:17 +1000)
commita977af9897f10cc13f5a6c950be3b2615c9f109d
tree7746bf10c4fd64a47869b9078c3fa90b288d0e85
parent87c08fe71aa56e917608f20b0142e8b5e04d60bc
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.

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>
kernel/panic.c