mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
lguest: update lazy mmu changes to match lguest's use of kvm hypercalls
Duplicate hcall -> kvm_hypercall0 convertion from "lguest: use KVM hypercalls". Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Cc: Matias Zabaljauregui <zabaljauregui at gmail.com> Cc: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
38f4b8c0da
commit
169aafbc8d
@ -168,7 +168,7 @@ static void lazy_hcall3(unsigned long call,
|
|||||||
* issue the do-nothing hypercall to flush any stored calls. */
|
* issue the do-nothing hypercall to flush any stored calls. */
|
||||||
static void lguest_leave_lazy_mmu_mode(void)
|
static void lguest_leave_lazy_mmu_mode(void)
|
||||||
{
|
{
|
||||||
hcall(LHCALL_FLUSH_ASYNC, 0, 0, 0);
|
kvm_hypercall0(LHCALL_FLUSH_ASYNC);
|
||||||
paravirt_leave_lazy_mmu();
|
paravirt_leave_lazy_mmu();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user