diff options
Diffstat (limited to 'mm/memory.c')
-rw-r--r-- | mm/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory.c b/mm/memory.c index 1a83fe5339a9..89339c61f8e5 100644 --- a/mm/memory.c +++ b/mm/memory.c | |||
@@ -2966,7 +2966,7 @@ int generic_access_phys(struct vm_area_struct *vma, unsigned long addr, | |||
2966 | { | 2966 | { |
2967 | resource_size_t phys_addr; | 2967 | resource_size_t phys_addr; |
2968 | unsigned long prot = 0; | 2968 | unsigned long prot = 0; |
2969 | void *maddr; | 2969 | void __iomem *maddr; |
2970 | int offset = addr & (PAGE_SIZE-1); | 2970 | int offset = addr & (PAGE_SIZE-1); |
2971 | 2971 | ||
2972 | if (follow_phys(vma, addr, write, &prot, &phys_addr)) | 2972 | if (follow_phys(vma, addr, write, &prot, &phys_addr)) |