arm64: Add cast for virt_to_pfn
authorLaura Abbott <labbott@redhat.com>
Tue, 10 Jan 2017 21:35:48 +0000 (13:35 -0800)
committerWill Deacon <will.deacon@arm.com>
Thu, 12 Jan 2017 15:05:39 +0000 (15:05 +0000)
commit869dcfd10dfe59484cf14acddf264656d5ee94ea
treedd78b9d3b4b2769f2161eb02580919ab7beb10ab
parent9e22eb616f861a25e3123d1221bad61f8f132913
arm64: Add cast for virt_to_pfn

virt_to_pfn lacks a cast at the top level. Don't rely on __virt_to_phys
and explicitly cast to unsigned long.

Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/memory.h