aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Dreier <rdreier@cisco.com>2008-07-14 21:11:23 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-14 23:40:39 -0400
commit4d3702b62e004172f44870763cf56793d8de0cbf (patch)
treef1c7477ece003d5cc51eabb58ccc8d0942ef2d9c
parentad1f8bf073e1c1996bb37b669352e3d7b1eb2b1f (diff)
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>
-rw-r--r--include/asm-x86/dwarf2.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/include/asm-x86/dwarf2.h b/include/asm-x86/dwarf2.h
index 0bfe250894f7..fd4a6a0393ac 100644
--- a/include/asm-x86/dwarf2.h
+++ b/include/asm-x86/dwarf2.h
@@ -38,23 +38,23 @@
38 38
39/* Due to the structure of pre-exisiting code, don't use assembler line 39/* Due to the structure of pre-exisiting code, don't use assembler line
40 comment character # to ignore the arguments. Instead, use a dummy macro. */ 40 comment character # to ignore the arguments. Instead, use a dummy macro. */
41.macro ignore a=0, b=0, c=0, d=0 41.macro __cfi_ignore a=0, b=0, c=0, d=0
42.endm 42.endm
43 43
44#define CFI_STARTPROC ignore 44#define CFI_STARTPROC __cfi_ignore
45#define CFI_ENDPROC ignore 45#define CFI_ENDPROC __cfi_ignore
46#define CFI_DEF_CFA ignore 46#define CFI_DEF_CFA __cfi_ignore
47#define CFI_DEF_CFA_REGISTER ignore 47#define CFI_DEF_CFA_REGISTER __cfi_ignore
48#define CFI_DEF_CFA_OFFSET ignore 48#define CFI_DEF_CFA_OFFSET __cfi_ignore
49#define CFI_ADJUST_CFA_OFFSET ignore 49#define CFI_ADJUST_CFA_OFFSET __cfi_ignore
50#define CFI_OFFSET ignore 50#define CFI_OFFSET __cfi_ignore
51#define CFI_REL_OFFSET ignore 51#define CFI_REL_OFFSET __cfi_ignore
52#define CFI_REGISTER ignore 52#define CFI_REGISTER __cfi_ignore
53#define CFI_RESTORE ignore 53#define CFI_RESTORE __cfi_ignore
54#define CFI_REMEMBER_STATE ignore 54#define CFI_REMEMBER_STATE __cfi_ignore
55#define CFI_RESTORE_STATE ignore 55#define CFI_RESTORE_STATE __cfi_ignore
56#define CFI_UNDEFINED ignore 56#define CFI_UNDEFINED __cfi_ignore
57#define CFI_SIGNAL_FRAME ignore 57#define CFI_SIGNAL_FRAME __cfi_ignore
58 58
59#endif 59#endif
60 60