]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86: turn 64 bit x86 HANDLE_STACK into print_context_stack like 32 bit has
authorArjan van de Ven <arjan@linux.intel.com>
Wed, 30 Jan 2008 12:33:07 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:07 +0000 (13:33 +0100)
commite4a94568b18c5d7d72741ebde5736d77d235743c
treef4dfd94e10d677483d169f6efaced214bfd036a1
parent5bc27dc2f55fd3043597b5a8de6536183f28a449
x86: turn 64 bit x86 HANDLE_STACK into print_context_stack like 32 bit has

This patch turns the x86 64 bit HANDLE_STACK macro in the backtrace code
into a function, just like 32 bit has. This is needed pre work in order to
get exact backtraces for CONFIG_FRAME_POINTER to work.

The function and it's arguments are not the same as 32 bit; due to the
exception/interrupt stack way of x86-64 there are a few differences.

This patch should not have any behavior changes, only code movement.

Due to the fragility and importance of the backtrace code, this needs to be
well reviewed and well tested before merging into mainlne.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/traps_64.c