diff options
author | Paul Mackerras <paulus@samba.org> | 2008-03-24 22:31:46 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-03-24 22:31:46 -0400 |
commit | 16fddf5457d2a7eb5e96ceb016a8f722eca97af6 (patch) | |
tree | ae3083a50c55f1e1a2c83f475d0e8bb2da8d7196 /arch/x86/mm | |
parent | 5492a7e4cba8e38419d489f0865de0a67c737e8a (diff) | |
parent | cc7feea39bed2951cc29af3ad642f39a99dfe8d3 (diff) |
Merge branch 'linux-2.6' into merge
Diffstat (limited to 'arch/x86/mm')
-rw-r--r-- | arch/x86/mm/ioremap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/mm/ioremap.c b/arch/x86/mm/ioremap.c index 8fe576baa148..4afaba0ed722 100644 --- a/arch/x86/mm/ioremap.c +++ b/arch/x86/mm/ioremap.c | |||
@@ -106,7 +106,7 @@ static int ioremap_change_attr(unsigned long vaddr, unsigned long size, | |||
106 | * have to convert them into an offset in a page-aligned mapping, but the | 106 | * have to convert them into an offset in a page-aligned mapping, but the |
107 | * caller shouldn't need to know that small detail. | 107 | * caller shouldn't need to know that small detail. |
108 | */ | 108 | */ |
109 | static void __iomem *__ioremap(unsigned long phys_addr, unsigned long size, | 109 | static void __iomem *__ioremap(resource_size_t phys_addr, unsigned long size, |
110 | enum ioremap_mode mode) | 110 | enum ioremap_mode mode) |
111 | { | 111 | { |
112 | unsigned long pfn, offset, last_addr, vaddr; | 112 | unsigned long pfn, offset, last_addr, vaddr; |
@@ -193,13 +193,13 @@ static void __iomem *__ioremap(unsigned long phys_addr, unsigned long size, | |||
193 | * | 193 | * |
194 | * Must be freed with iounmap. | 194 | * Must be freed with iounmap. |
195 | */ | 195 | */ |
196 | void __iomem *ioremap_nocache(unsigned long phys_addr, unsigned long size) | 196 | void __iomem *ioremap_nocache(resource_size_t phys_addr, unsigned long size) |
197 | { | 197 | { |
198 | return __ioremap(phys_addr, size, IOR_MODE_UNCACHED); | 198 | return __ioremap(phys_addr, size, IOR_MODE_UNCACHED); |
199 | } | 199 | } |
200 | EXPORT_SYMBOL(ioremap_nocache); | 200 | EXPORT_SYMBOL(ioremap_nocache); |
201 | 201 | ||
202 | void __iomem *ioremap_cache(unsigned long phys_addr, unsigned long size) | 202 | void __iomem *ioremap_cache(resource_size_t phys_addr, unsigned long size) |
203 | { | 203 | { |
204 | return __ioremap(phys_addr, size, IOR_MODE_CACHED); | 204 | return __ioremap(phys_addr, size, IOR_MODE_CACHED); |
205 | } | 205 | } |