diff options
author | Vitaly Kuznetsov | 2017-08-02 18:09:14 +0200 |
---|---|---|
committer | Ingo Molnar | 2017-08-10 16:50:22 +0200 |
commit | fc53662f13b889a5a1c069e79ee1e3d4534df132 (patch) | |
tree | 5f4c144bbc80cb0e6862fc59caf82665164dbf39 /include/acpi/acpiosxf.h | |
parent | x86/hyper-v: Include hyperv/ only when CONFIG_HYPERV is set (diff) | |
download | kernel-qcow2-linux-fc53662f13b889a5a1c069e79ee1e3d4534df132.tar.gz kernel-qcow2-linux-fc53662f13b889a5a1c069e79ee1e3d4534df132.tar.xz kernel-qcow2-linux-fc53662f13b889a5a1c069e79ee1e3d4534df132.zip |
x86/hyper-v: Make hv_do_hypercall() inline
We have only three call sites for hv_do_hypercall() and we're going to
change HVCALL_SIGNAL_EVENT to doing fast hypercall so we can inline this
function for optimization.
Hyper-V top level functional specification states that r9-r11 registers
and flags may be clobbered by the hypervisor during hypercall and with
inlining this is somewhat important, add the clobbers.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Stephen Hemminger <sthemmin@microsoft.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Jork Loeser <Jork.Loeser@microsoft.com>
Cc: K. Y. Srinivasan <kys@microsoft.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Simon Xiao <sixiao@microsoft.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: devel@linuxdriverproject.org
Link: http://lkml.kernel.org/r/20170802160921.21791-3-vkuznets@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/acpi/acpiosxf.h')
0 files changed, 0 insertions, 0 deletions