]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/asm-ppc/machdep.h
[PATCH] ppc: make phys_mem_access_prot() work with pfns instead of addresses
[mirror_ubuntu-bionic-kernel.git] / include / asm-ppc / machdep.h
index 6c6d23abbe916ac03ed1147d0ed45b6140800fd8..f01255bd1dc3739e8c71c5e4c88198ca6884d13a 100644 (file)
@@ -98,7 +98,7 @@ struct machdep_calls {
 
        /* Get access protection for /dev/mem */
        pgprot_t        (*phys_mem_access_prot)(struct file *file,
-                                               unsigned long offset,
+                                               unsigned long pfn,
                                                unsigned long size,
                                                pgprot_t vma_prot);