powerpc/mm: Use PFN_PHYS() in devmem_is_allowed()
authorScott Wood <scottwood@freescale.com>
Fri, 17 Apr 2015 21:17:14 +0000 (16:17 -0500)
committerScott Wood <scottwood@freescale.com>
Wed, 3 Jun 2015 02:37:23 +0000 (21:37 -0500)
commit6c0cc62715bfd0b26f7d1a79e6e8143085950ca7
treeff32cd626c2c2a198eae6f6336d4a63c800004c0
parent86c3b16e9f330c94062c40302ab266f0d932057e
powerpc/mm: Use PFN_PHYS() in devmem_is_allowed()

This function can run on systems where physical addresses don't
fit in unsigned long, so make sure to use the macro that contains the
proper cast.

Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/mm/mem.c