]> 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, 23 May 2013 00:37:25 +0000 (10:37 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 27 May 2013 06:09:09 +0000 (16:09 +1000)
commita8605252842e37b131b3ef27bc894d0349bb5429
treea1901d45e5c5a005cae0be4d8b0c865d6317384a
parent19df26ab6d1d4c6a2e6305e5ed30b430027b8c04
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