Skip to content
Commit 1b2b23d8 authored by Tao Guo's avatar Tao Guo Committed by Ingo Molnar
Browse files

x86_64: Work around old GAS bug



GAS in binutils(2.16.91) could not parse parentheses within
macro parameters unless fully parenthesized, and this is a
workaround to make old gas work without generating below errors:

 arch/x86/kernel/entry_64.S: Assembler messages:
 arch/x86/kernel/entry_64.S:387: Error: too many positional arguments
 arch/x86/kernel/entry_64.S:389: Error: too many positional arguments
 [...]

Signed-off-by: default avatarTao Guo <glorioustao@gmail.com>
Reluctantly-Acked-by: default avatarJan Beulich <jbeulich@novell.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/1348648102-12653-1-git-send-email-glorioustao@gmail.com


[ Jan argues that these old GAS versions are fragile - which is so, but lets give them a chance. ]
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent e26a44a2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment