]> err.no Git - linux-2.6/commit
[PATCH] x86: Make _syscallX() macros compile in PIC mode
authorMarkus Gutschke <markus@google.com>
Thu, 23 Mar 2006 10:59:56 +0000 (02:59 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 23 Mar 2006 15:38:07 +0000 (07:38 -0800)
commitaeefc956d5d8f8402216a5447bd72ade9eb37eff
tree982c643fe5288bc3228e3237eaab9e4406b811c1
parent905c399594f85322a4e513a4b0365b70d6de9fd0
[PATCH] x86: Make _syscallX() macros compile in PIC mode

Gcc reserves %ebx when compiling position-independent-code on i386.  This
means, the _syscallX() macros in include/asm-i386/unistd.h will not
compile.  This patch is changes the existing macros to take special care to
preserve %ebx.

The bug can be tracked at http://bugzilla.kernel.org/show_bug.cgi?id=6204

Signed-off-by: Markus Gutschke <markus@google.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-i386/unistd.h