aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-07-10 15:17:53 -0300
committerIngo Molnar <mingo@elte.hu>2008-07-11 20:49:35 +0200
commitd73a731abe2a77fb54c5de4f72036b60ce3a048e (patch)
tree6771421afb46b7e54b536c167fb2be92ddc3448d /include
parent70f1bba4c8ff88d7fd9e06f1b2cb2b3c58e8e5f9 (diff)
x86: use AS_CFI instead of UNWIND_INFO
In dwarf2_32.h, test for CONFIG_AS_CFI instead of CONFIG_UNWIND_INFO. Turns out that searching for UNWIND_INFO returns no match in any Kconfig or Makefile, so we're really just throwing everything away regarding dwarf frames for i386. The test that generates CONFIG_AS_CFI does not have anything x86_64-specific, and right now, checking V=1 builds shows me that the flags is there anyway, although unused. Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86/dwarf2_32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/dwarf2_32.h b/include/asm-x86/dwarf2_32.h
index 6d66398a307..0bfe250894f 100644
--- a/include/asm-x86/dwarf2_32.h
+++ b/include/asm-x86/dwarf2_32.h
@@ -12,7 +12,7 @@
away for older version.
*/
-#ifdef CONFIG_UNWIND_INFO
+#ifdef CONFIG_AS_CFI
#define CFI_STARTPROC .cfi_startproc
#define CFI_ENDPROC .cfi_endproc