]> git.karo-electronics.de Git - linux-beck.git/commit
x86: Rename "ignore" macro in <asm/dwarf2.h> to avoid collision
authorRoland Dreier <rdreier@cisco.com>
Tue, 15 Jul 2008 01:11:23 +0000 (18:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Jul 2008 03:40:39 +0000 (20:40 -0700)
commit4d3702b62e004172f44870763cf56793d8de0cbf
treef1c7477ece003d5cc51eabb58ccc8d0942ef2d9c
parentad1f8bf073e1c1996bb37b669352e3d7b1eb2b1f
x86: Rename "ignore" macro in <asm/dwarf2.h> to avoid collision

Commit 70f1bba4 ("x86: use ignore macro instead of hash comment") breaks
the 64-bit x86 build on toolchains that have CONFIG_AS_CFI undefined with:

    arch/x86/lib/csum-copy_64.S:48: Error: Macro `ignore' was already defined

because <asm/dwarf2.h> now uses the ignore macro name itself.  Fix this
by changing to __cfi_ignore in dwarf2.h.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-x86/dwarf2.h