]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dump_stack: serialize the output from dump_stack()
authorAlex Thorlton <athorlton@sgi.com>
Thu, 23 May 2013 00:37:24 +0000 (10:37 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 27 May 2013 06:09:08 +0000 (16:09 +1000)
commitac5a43c1fb29c647eaac987a45089f17b8365f59
treef6fe6668e99fdf4de63ccb3681e335772bf6949d
parentc8f438d805be885fb9048e01ba30adc9a80dbab2
dump_stack: serialize the output from dump_stack()

tAdd adds functionality to serialize the output from dump_stack() to avoid
mangling of the output when dump_stack is called simultaneously from
multiple cpus.

Signed-off-by: Alex Thorlton <athorlton@sgi.com>
Reported-by: Russ Anderson <rja@sgi.com>
Reviewed-by: Robin Holt <holt@sgi.com>
Cc: Vineet Gupta <vgupta@synopsys.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Richard Kuo <rkuo@codeaurora.org>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/dump_stack.c