Two small fixes to the stack dumper, a cleanup and sustaining the
previous log level after a newline. (Adrien Schildknecht)
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

Suggested-by: Ingo Molnar <>
Signed-off-by: Adrien Schildknecht <>
Acked-by: Steven Rostedt <>
Cc: c: Linus Torvalds <>
Signed-off-by: Borislav Petkov <>
1 file changed