x86/kernel: Use kstack_end() in dumpstack_64.c
authorAdrien Schildknecht <adrien+dev@schischi.me>
Sun, 22 Feb 2015 15:23:58 +0000 (16:23 +0100)
committerBorislav Petkov <bp@suse.de>
Mon, 23 Feb 2015 17:37:13 +0000 (18:37 +0100)
commit04769ae3ac72f86324a189b69f53bf3bfb61acfd
tree378a0eb30708daba6e44bfb27004de8b8e581cb1
parent1fc7f61c3e604f6bf778b5c6afc2715d79ab7f36
x86/kernel: Use kstack_end() in dumpstack_64.c

i386 is already using kstack_end() in dumpstack_32.c. We should also
use it to make the code clearer and unify the stack printing logic some
more.

Suggested-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Adrien Schildknecht <adrien+dev@schischi.me>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Cc: c: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/1424618638-6375-1-git-send-email-adrien+dev@schischi.me
Signed-off-by: Borislav Petkov <bp@suse.de>
arch/x86/kernel/dumpstack_64.c