]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dump_stack: serialize the output from dump_stack()
authorAlex Thorlton <athorlton@sgi.com>
Wed, 19 Jun 2013 00:07:08 +0000 (10:07 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:26:58 +0000 (17:26 +1000)
commit70d064096d8982c2d02323fcee70a01ef7a374fb
tree3e4682cb2e2b901aa4f5a17140d764e80cc0582d
parent0c258f6fb088b921f6017a3a4f7833d993076e72
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