x86: Fix dumpstack_64 irq stack handling
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Wed, 2 Apr 2014 17:26:41 +0000 (13:26 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 2 Apr 2014 18:46:50 +0000 (11:46 -0700)
commit63c95654d8256db8aed2a4699ad6eba359400ef8
tree33360aec89575c354bc7b086a2a0ad88f5ed9e51
parent1aabc5990d205cdb0789a1c26143c53601e9bb07
x86: Fix dumpstack_64 irq stack handling

Commit 2223f6f6eeaa "x86: Clean up dumpstack_64.c code" changed
the irq_stack processing a little from what it was before.
The irq_stack_end variable needed to be cleared after its first
use. By setting irq_stack to the per cpu irq_stack and passing
that to analyze_stack(), and then clearing it after it is processed,
we can get back the original behavior.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/kernel/dumpstack_64.c