Merge branch 'kvm-updates/3.4' of git://git.kernel.org/pub/scm/virt/kvm/kvm
[~shefty/rdma-dev.git] / arch / powerpc / kvm / book3s_pr.c
index ee222ec7c95ce268c960e190be6d7a5b81c5e2d6..7340e1090b770302cdb055728b0c7740241c0ca6 100644 (file)
@@ -235,14 +235,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);
 }