|
@@ -131,11 +131,11 @@ static int __init vdso_init(void)
|
|
return -ENOMEM;
|
|
return -ENOMEM;
|
|
|
|
|
|
/* Grab the vDSO data page. */
|
|
/* Grab the vDSO data page. */
|
|
- vdso_pagelist[0] = virt_to_page(vdso_data);
|
|
|
|
|
|
+ vdso_pagelist[0] = pfn_to_page(PHYS_PFN(__pa(vdso_data)));
|
|
|
|
|
|
/* Grab the vDSO code pages. */
|
|
/* Grab the vDSO code pages. */
|
|
for (i = 0; i < vdso_pages; i++)
|
|
for (i = 0; i < vdso_pages; i++)
|
|
- vdso_pagelist[i + 1] = virt_to_page(&vdso_start + i * PAGE_SIZE);
|
|
|
|
|
|
+ vdso_pagelist[i + 1] = pfn_to_page(PHYS_PFN(__pa(&vdso_start)) + i);
|
|
|
|
|
|
/* Populate the special mapping structures */
|
|
/* Populate the special mapping structures */
|
|
vdso_spec[0] = (struct vm_special_mapping) {
|
|
vdso_spec[0] = (struct vm_special_mapping) {
|