]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86, asm: Fix binutils 2.16 issue with __USER32_CS
authorBorislav Petkov <bp@alien8.de>
Fri, 3 Jun 2011 20:07:22 +0000 (22:07 +0200)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 3 Jun 2011 21:39:14 +0000 (14:39 -0700)
commitdd2897bf0f4d523238e87dabb23e9634ea9ba73d
treefaf6896f0c497fef5ad405d58c5706e68c84f9f0
parent38e6b75d3b6f4b9445eb6486e28fc716acda44ae
x86, asm: Fix binutils 2.16 issue with __USER32_CS

While testing the patchset at

http://lkml.kernel.org/r/1306873314-32523-1-git-send-email-bp@alien8.de

with binutils 2.16.1 from hell, kernel build fails with the following
error:

arch/x86/ia32/ia32entry.S: Assembler messages:
arch/x86/ia32/ia32entry.S:139: Error: too many positional arguments
make[2]: *** [arch/x86/ia32/ia32entry.o] Error 1
make[1]: *** [arch/x86/ia32] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [arch/x86] Error 2
make: *** Waiting for unfinished jobs....

due to spaces between the operators of the __USER32_CS define. Fix it so
that gas 2.16 can swallow it too.

Signed-off-by: Borislav Petkov <bp@alien8.de>
Link: http://lkml.kernel.org/r/1307131642-32595-1-git-send-email-bp@alien8.de
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/segment.h