From: Benjamin Herrenschmidt Date: Wed, 4 Aug 2010 03:23:02 +0000 (+1000) Subject: memblock/arm: pfn_valid uses memblock_is_memory() X-Git-Tag: v2.6.37-rc1~183^2~72 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e6f6aa1c243fafeb2648cf4ebd5abd99ab2531b;p=pandora-kernel.git memblock/arm: pfn_valid uses memblock_is_memory() The implementation is pretty much similar. There is a -small- added overhead by having another function call and the address shift. If that becomes a concern, I suppose we could actually have memblock itself expose a memblock_pfn_valid() which then ARM can use directly with an appropriate #define... Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed