diff options
-rw-r--r-- | arch/x86/mm/ioremap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/mm/ioremap.c b/arch/x86/mm/ioremap.c index 7338c5d3dd37..c590fd200e29 100644 --- a/arch/x86/mm/ioremap.c +++ b/arch/x86/mm/ioremap.c | |||
@@ -47,7 +47,7 @@ static inline int phys_addr_valid(unsigned long addr) | |||
47 | 47 | ||
48 | int page_is_ram(unsigned long pagenr) | 48 | int page_is_ram(unsigned long pagenr) |
49 | { | 49 | { |
50 | unsigned long addr, end; | 50 | resource_size_t addr, end; |
51 | int i; | 51 | int i; |
52 | 52 | ||
53 | /* | 53 | /* |
@@ -120,7 +120,8 @@ int ioremap_change_attr(unsigned long vaddr, unsigned long size, | |||
120 | static void __iomem *__ioremap(resource_size_t phys_addr, unsigned long size, | 120 | static void __iomem *__ioremap(resource_size_t phys_addr, unsigned long size, |
121 | unsigned long prot_val) | 121 | unsigned long prot_val) |
122 | { | 122 | { |
123 | unsigned long pfn, offset, last_addr, vaddr; | 123 | unsigned long pfn, offset, vaddr; |
124 | resource_size_t last_addr; | ||
124 | struct vm_struct *area; | 125 | struct vm_struct *area; |
125 | unsigned long new_prot_val; | 126 | unsigned long new_prot_val; |
126 | pgprot_t prot; | 127 | pgprot_t prot; |