arm64: ARCH_PFN_OFFSET should be unsigned long
authorNeil Zhang <zhangwm@marvell.com>
Tue, 28 Oct 2014 05:44:01 +0000 (05:44 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 13 Nov 2014 15:21:40 +0000 (15:21 +0000)
commit5fd6690c8fb2c3012012979dd8ce7492c69c5d86
treed4a6e2b155e4e7981f875c412385fc6b37e8f804
parent899d5933b2dd2720f2b20b01eaa07871aa6ad096
arm64: ARCH_PFN_OFFSET should be unsigned long

pfns are unsigned long, but PHYS_PFN_OFFSET is phys_addr_t. This leads
to page_to_pfn() returning phys_addr_t which cause type mismatches in
some print statements.

Signed-off-by: Neil Zhang <zhangwm@marvell.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/memory.h