summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/io.h
diff options
context:
space:
mode:
authorMin-Hua Chen <orca.chen@gmail.com>2014-10-02 15:56:59 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2014-10-02 17:22:41 +0100
commit097cbd8d261ccc602c963ddf823d5023be439e04 (patch)
tree7e8dee35e3d9ca15edea2148f21946f59341a4eb /arch/arm64/include/asm/io.h
parent6c34f1f5424395994c125f8c68bed395920ecc58 (diff)
downloadlinux-097cbd8d261ccc602c963ddf823d5023be439e04.tar.gz
linux-097cbd8d261ccc602c963ddf823d5023be439e04.tar.bz2
linux-097cbd8d261ccc602c963ddf823d5023be439e04.zip
arm64: Use phys_addr_t type for physical address
Change the type of physical address from unsigned long to phys_addr_t, make valid_phys_addr_range more readable. Signed-off-by: Min-Hua Chen <orca.chen@gmail.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/io.h')
-rw-r--r--arch/arm64/include/asm/io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/io.h b/arch/arm64/include/asm/io.h
index e0ecdcf6632d..f771e8bcad4a 100644
--- a/arch/arm64/include/asm/io.h
+++ b/arch/arm64/include/asm/io.h
@@ -243,7 +243,7 @@ extern void __iomem *ioremap_cache(phys_addr_t phys_addr, size_t size);
* (PHYS_OFFSET and PHYS_MASK taken into account).
*/
#define ARCH_HAS_VALID_PHYS_ADDR_RANGE
-extern int valid_phys_addr_range(unsigned long addr, size_t size);
+extern int valid_phys_addr_range(phys_addr_t addr, size_t size);
extern int valid_mmap_phys_addr_range(unsigned long pfn, size_t size);
extern int devmem_is_allowed(unsigned long pfn);