dumpstack: x86: various small unification steps
authorAlexander van Heukelum <heukelum@fastmail.fm>
Sat, 4 Oct 2008 21:12:46 +0000 (23:12 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 13 Oct 2008 08:33:45 +0000 (10:33 +0200)
commit8a541665b9063c5006b370d4488cf9f6beb6083f
treefe3411f956e0be63f9eee4ca6c49df2276be4571
parent802a67de0cbd1ef10df80ad48b840e2103b13e52
dumpstack: x86: various small unification steps

- define STACKSLOTS_PER_LINE and use it
 - define get_bp macro to hide the %%ebp/%%rbp difference
 - i386: check task==NULL in dump_trace, like x86_64
 - i386: show_trace(NULL, ...) uses current automatically
 - x86_64: use [#%d] for die_counter, like i386
 - whitespace and comments

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/dumpstack_32.c
arch/x86/kernel/dumpstack_64.c