Remove braces in arch/x86/kernel/cpu/vmware.c to fix build for clang. No functional change otherwise.
Subsystems (2)
PATCH 1/1 Remove braces in arch/x86/kernel/cpu/vmware.c to fix build for clang. No functional change otherwise.
From: Jan-Simon Möller <[email protected]>
Author: PaX Team <pageexec at freemail.hu> ML-Post: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120507/142707.html URL: http://llvm.linuxfoundation.org
Merge: Jan-Simon Möller <dl9pf at gmx.de>
Description:
Clang chokes on the notation "inl (%dx)" but works for "inl %dx"; GNU as accepts both forms.
Signed-off-by Jan-Simon Möller <[email protected]>
CC Jan-Simon Möller <[email protected]>
CC PaX Team <[email protected]>
CC Behan Webster <[email protected]>
CC Doug Covelli <[email protected]>
CC Dan Hecht <[email protected]>
--- arch/x86/kernel/cpu/vmware.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/cpu/vmware.c +1 -1
@@ -38,7 +38,7 @@#define VMWARE_PORT_CMD_VCPU_RESERVED 31#define VMWARE_PORT (cmd, eax, ebx, ecx, edx) \ - __asm__("inl (%%dx)" : \ + __asm__("inl %%dx" : \ "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) : \ "0"(VMWARE_HYPERVISOR_MAGIC), \ "1"(VMWARE_PORT_CMD_##cmd), \
Signature · 7 lines
1.8.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/