aboutsummaryrefslogtreecommitdiffstats
path: root/arch/metag
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2014-04-02 13:26:40 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-02 11:46:50 -0700
commit1aabc5990d205cdb0789a1c26143c53601e9bb07 (patch)
tree01e0db2ac388f630d964b2b33365af9d77307fb5 /arch/metag
parentMerge branch 'for-3.15/drivers' of git://git.kernel.dk/linux-block (diff)
downloadlinux-dev-1aabc5990d205cdb0789a1c26143c53601e9bb07.tar.xz
linux-dev-1aabc5990d205cdb0789a1c26143c53601e9bb07.zip
x86: Fix dumpstack_64 to keep state of "used" variable in loop
Commit 2223f6f6eeaa "x86: Clean up dumpstack_64.c code" moved the used variable to a local within the loop, but the in_exception_stack() depended on being non-volatile with the ability to change it. By always re-initializing the "used" variable to zero, it would cause the in_exception_stack() to return the same thing each time, and cause the dump_stack loop to go into an infinite loop. Reported-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/metag')
0 files changed, 0 insertions, 0 deletions