]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/arm/xen/p2m.c
Merge remote-tracking branch 'y2038/y2038'
[karo-tx-linux.git] / arch / arm / xen / p2m.c
index 887596c67b129a024ffd2fd0ce2db26d4762f89e..0ed01f2d5ee4b42ebe69ee8eed71dcdf4d08f7f9 100644 (file)
@@ -93,8 +93,8 @@ int set_foreign_p2m_mapping(struct gnttab_map_grant_ref *map_ops,
        for (i = 0; i < count; i++) {
                if (map_ops[i].status)
                        continue;
-               set_phys_to_machine(map_ops[i].host_addr >> PAGE_SHIFT,
-                                   map_ops[i].dev_bus_addr >> PAGE_SHIFT);
+               set_phys_to_machine(map_ops[i].host_addr >> XEN_PAGE_SHIFT,
+                                   map_ops[i].dev_bus_addr >> XEN_PAGE_SHIFT);
        }
 
        return 0;
@@ -108,7 +108,7 @@ int clear_foreign_p2m_mapping(struct gnttab_unmap_grant_ref *unmap_ops,
        int i;
 
        for (i = 0; i < count; i++) {
-               set_phys_to_machine(unmap_ops[i].host_addr >> PAGE_SHIFT,
+               set_phys_to_machine(unmap_ops[i].host_addr >> XEN_PAGE_SHIFT,
                                    INVALID_P2M_ENTRY);
        }