x86: use AS_CFI instead of UNWIND_INFO
authorGlauber Costa <gcosta@redhat.com>
Thu, 10 Jul 2008 18:17:53 +0000 (15:17 -0300)
committerIngo Molnar <mingo@elte.hu>
Fri, 11 Jul 2008 18:49:35 +0000 (20:49 +0200)
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>
include/asm-x86/dwarf2_32.h

index 6d66398a307d1dc16d271ec66d96fccbe949118f..0bfe250894f77fe3db16afe332c75808626ae567 100644 (file)
@@ -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