[PATCH] allow CONFIG_FRAME_POINTER for x86-64

From: Jan Beulich
Date: Thu Sep 08 2005 - 11:03:40 EST


(Note: Patch also attached because the inline version is certain to get
line wrapped.)

Allow building the x86-64 kernels with frame pointers if so needed.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

diff -Npru 2.6.13/lib/Kconfig.debug
2.6.13-x86_64-frame-pointer/lib/Kconfig.debug
--- 2.6.13/lib/Kconfig.debug 2005-08-29 01:41:01.000000000 +0200
+++ 2.6.13-x86_64-frame-pointer/lib/Kconfig.debug 2005-09-02
09:57:40.000000000 +0200
@@ -151,7 +151,7 @@ config DEBUG_FS

config FRAME_POINTER
bool "Compile the kernel with frame pointers"
- depends on DEBUG_KERNEL && ((X86 && !X86_64) || CRIS || M68K ||
M68KNOMMU || FRV || UML)
+ depends on DEBUG_KERNEL && (X86 || CRIS || M68K || M68KNOMMU ||
FRV || UML)
default y if DEBUG_INFO && UML
help
If you say Y here the resulting kernel image will be slightly
larger

Attachment: linux-2.6.13-x86_64-frame-pointer.patch
Description: Binary data