From: Markus Gutschke Date: Thu, 23 Mar 2006 10:59:56 +0000 (-0800) Subject: [PATCH] x86: Make _syscallX() macros compile in PIC mode X-Git-Tag: v2.6.17-rc1~1081 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aeefc956d5d8f8402216a5447bd72ade9eb37eff;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed