From: dl9pf@gmx.de
To: dl9pf@gmx.de
Cc: PaX Team <pageexec@freemail.hu>,
Behan Webster <behanw@converseincode.com>,
Doug Covelli <dcovelli@vmware.com>, Dan Hecht <dhecht@vmware.com>,
linux-kernel@vger.kernel.org,
"'Jiri Kosina'" <trivial@kernel.org>
Subject: [PATCH] [TRIVIAL] Remove braces in arch/x86/kernel/cpu/vmware.c to fix build for clang. No functional change otherwise.
Date: Thu, 29 Aug 2013 16:11:37 +0200 [thread overview]
Message-ID: <1618980.7O7jUTFqi5@aragorn.auenland.lan> (raw)
From: Jan-Simon Möller <dl9pf@gmx.de>
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 <dl9pf@gmx.de>
CC: Jan-Simon Möller <dl9pf@gmx.de>
CC: PaX Team <pageexec@freemail.hu>
CC: Behan Webster <behanw@converseincode.com>
CC: Doug Covelli <dcovelli@vmware.com>
CC: Dan Hecht <dhecht@vmware.com>
CC: linux-kernel@vger.kernel.org
---
arch/x86/kernel/cpu/vmware.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/cpu/vmware.c b/arch/x86/kernel/cpu/vmware.c
index 628a059..32ef12c 100644
--- a/arch/x86/kernel/cpu/vmware.c
+++ b/arch/x86/kernel/cpu/vmware.c
@@ -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), \
--
1.8.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
next reply other threads:[~2013-08-29 14:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-29 14:11 dl9pf [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-08-20 21:10 dl9pf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1618980.7O7jUTFqi5@aragorn.auenland.lan \
--to=dl9pf@gmx.de \
--cc=behanw@converseincode.com \
--cc=dcovelli@vmware.com \
--cc=dhecht@vmware.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pageexec@freemail.hu \
--cc=trivial@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®