diff options
author | Sami Tolvanen <samitolvanen@google.com> | 2019-10-07 21:21:29 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-10-08 13:26:42 +0200 |
commit | fbcfb8f0270bf24fe348393540b17a7f2ba577d7 (patch) | |
tree | a2dc4599387d42d9a580855ebcfcf93fe22c7fae /lib | |
parent | x86/asm: Fix MWAITX C-state hint value (diff) | |
download | linux-fbcfb8f0270bf24fe348393540b17a7f2ba577d7.tar.xz linux-fbcfb8f0270bf24fe348393540b17a7f2ba577d7.zip |
x86/cpu/vmware: Use the full form of INL in VMWARE_PORT
LLVM's assembler doesn't accept the short form INL instruction:
inl (%%dx)
but instead insists on the output register to be explicitly specified:
<inline asm>:1:7: error: invalid operand for instruction
inl (%dx)
^
LLVM ERROR: Error parsing inline asm
Use the full form of the instruction to fix the build.
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: Thomas Hellstrom <thellstrom@vmware.com>
Cc: clang-built-linux@googlegroups.com
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: virtualization@lists.linux-foundation.org
Cc: "VMware, Inc." <pv-drivers@vmware.com>
Cc: x86-ml <x86@kernel.org>
Link: https://github.com/ClangBuiltLinux/linux/issues/734
Link: https://lkml.kernel.org/r/20191007192129.104336-1-samitolvanen@google.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions