diff options
author | Cong Wang <amwang@redhat.com> | 2011-11-25 15:14:16 (GMT) |
---|---|---|
committer | Cong Wang <xiyou.wangcong@gmail.com> | 2012-03-20 13:48:14 (GMT) |
commit | 2480b2089210de3353b43419a80d9fa298d76f0e (patch) | |
tree | 95d79e9af0a7a038e42acaa9d5dd0ade735ba78f /arch/powerpc/kvm | |
parent | 9c02048fcdf3cd0ab2d04a0a01de100582db28e1 (diff) | |
download | linux-fsl-qoriq-2480b2089210de3353b43419a80d9fa298d76f0e.tar.xz |
powerpc: remove the second argument of k[un]map_atomic()
Signed-off-by: Cong Wang <amwang@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm')
-rw-r--r-- | arch/powerpc/kvm/book3s_pr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kvm/book3s_pr.c b/arch/powerpc/kvm/book3s_pr.c index e2cfb9e..220fcdf 100644 --- a/arch/powerpc/kvm/book3s_pr.c +++ b/arch/powerpc/kvm/book3s_pr.c @@ -227,14 +227,14 @@ static void kvmppc_patch_dcbz(struct kvm_vcpu *vcpu, struct kvmppc_pte *pte) hpage_offset /= 4; get_page(hpage); - page = kmap_atomic(hpage, KM_USER0); + page = kmap_atomic(hpage); /* patch dcbz into reserved instruction, so we trap */ for (i=hpage_offset; i < hpage_offset + (HW_PAGE_SIZE / 4); i++) if ((page[i] & 0xff0007ff) == INS_DCBZ) page[i] &= 0xfffffff7; - kunmap_atomic(page, KM_USER0); + kunmap_atomic(page); put_page(hpage); } |