From: Chris Metcalf Date: Mon, 24 May 2010 21:32:53 +0000 (-0700) Subject: mm: make lowmem_page_address() use PFN_PHYS() for improved portability X-Git-Tag: v2.6.35-rc1~352 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6f6b596a5a73e63e5e930c414375c0c389199ab;p=pandora-kernel.git mm: make lowmem_page_address() use PFN_PHYS() for improved portability This ensures that platforms with lowmem PAs above 32 bits work correctly by avoiding truncating the PA during a left shift. Signed-off-by: Chris Metcalf Cc: Barry Song <21cnbao@gmail.com> Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed