diff options
author | Jan-Simon Möller <dl9pf@gmx.de> | 2013-08-20 16:52:06 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-28 00:51:21 -0400 |
commit | e83736c80290b8b3139ce8615a3a49acec25fcc0 (patch) | |
tree | 83cf3dee7770ca1d05680fe8d0b6f30f1bf32686 /drivers/misc | |
parent | 42dceebe34600b2d02a38baa3e869009ba3d14c7 (diff) |
misc: vmw_balloon: Remove braces to fix build for clang.
Based on a patch from: PaX Team <pageexec at freemail.hu> in a mailing
list message at:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120507/142707.html
Clang chokes on the notation "inl (%dx)" but works for "inl %dx"; GNU as accepts both forms.
CC: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jan-Simon Möller <dl9pf@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/vmw_balloon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/vmw_balloon.c b/drivers/misc/vmw_balloon.c index cb56e270da11..2421835d5daf 100644 --- a/drivers/misc/vmw_balloon.c +++ b/drivers/misc/vmw_balloon.c | |||
@@ -133,7 +133,7 @@ MODULE_LICENSE("GPL"); | |||
133 | #define VMWARE_BALLOON_CMD(cmd, data, result) \ | 133 | #define VMWARE_BALLOON_CMD(cmd, data, result) \ |
134 | ({ \ | 134 | ({ \ |
135 | unsigned long __stat, __dummy1, __dummy2; \ | 135 | unsigned long __stat, __dummy1, __dummy2; \ |
136 | __asm__ __volatile__ ("inl (%%dx)" : \ | 136 | __asm__ __volatile__ ("inl %%dx" : \ |
137 | "=a"(__stat), \ | 137 | "=a"(__stat), \ |
138 | "=c"(__dummy1), \ | 138 | "=c"(__dummy1), \ |
139 | "=d"(__dummy2), \ | 139 | "=d"(__dummy2), \ |