powerpc: ARCH_PFN_OFFSET should be unsigned long
authorScott Wood <scottwood@freescale.com>
Thu, 24 Mar 2011 11:51:19 +0000 (11:51 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 29 Mar 2011 23:44:07 +0000 (10:44 +1100)
commit67eb54944bb9de5f568ea2c28d4f20a5b7d2611d
tree567d59ecddcc9345087b838490b7c40aff2b7915
parent6090912c4abcfc6c81b156cf2bb4cda23ae6e847
powerpc: ARCH_PFN_OFFSET should be unsigned long

pfns are unsigned long, but MEMORY_START is phys_addr_t.  This leads
to page_to_pfn() returning phys_addr_t, and thus type mismatches in a few
print statements.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/page.h