diff options
Diffstat (limited to 'virt/kvm/async_pf.c')
-rw-r--r-- | virt/kvm/async_pf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/virt/kvm/async_pf.c b/virt/kvm/async_pf.c index db9668869f6f..8035cc1eb955 100644 --- a/virt/kvm/async_pf.c +++ b/virt/kvm/async_pf.c | |||
@@ -84,7 +84,8 @@ static void async_pf_execute(struct work_struct *work) | |||
84 | * mm and might be done in another context, so we must | 84 | * mm and might be done in another context, so we must |
85 | * use FOLL_REMOTE. | 85 | * use FOLL_REMOTE. |
86 | */ | 86 | */ |
87 | __get_user_pages_unlocked(NULL, mm, addr, 1, 1, 0, NULL, FOLL_REMOTE); | 87 | __get_user_pages_unlocked(NULL, mm, addr, 1, NULL, |
88 | FOLL_WRITE | FOLL_REMOTE); | ||
88 | 89 | ||
89 | kvm_async_page_present_sync(vcpu, apf); | 90 | kvm_async_page_present_sync(vcpu, apf); |
90 | 91 | ||