Message ID | 20120105104806.GD6819@valinux.co.jp |
---|---|
State | New |
Headers | show |
diff --git a/drivers/char/umem.c b/drivers/char/umem.c index 4d031b5..853f1ce 100644 --- a/drivers/char/umem.c +++ b/drivers/char/umem.c @@ -129,7 +129,7 @@ static int umem_minor_fault(struct umem *umem, * vmf->page = fake_vmf->page; */ - page = alloc_page_vma(GFP_HIGHUSER_MOVABLE, vma, vmf->address); + page = alloc_page_vma(GFP_HIGHUSER_MOVABLE, vma, vmf->virtual_address); if (!page) return VM_FAULT_OOM; if (mem_cgroup_cache_charge(page, vma->vm_mm, GFP_KERNEL)) {