]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dump_stack: serialize the output from dump_stack()
authorAlex Thorlton <athorlton@sgi.com>
Thu, 27 Jun 2013 23:52:41 +0000 (09:52 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:38:15 +0000 (16:38 +1000)
commita1fdff0a8cfcd883146524c96d762d564deb3208
tree057795bfe347d7daae27a46adead5455531d8274
parent5f95587c6ab75900a9a6aa2240f87b4c27fb1c56
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