]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6e1f2396299b3668709eec663377b1040d39326a
treefe3411f956e0be63f9eee4ca6c49df2276be4571
parentf1d3d4020b7f771eb57942fc6ff0162f4e05ed9b
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