diff options
author | 2010-05-24 14:32:53 -0700 | |
---|---|---|
committer | 2010-05-25 08:07:02 -0700 | |
commit | c6f6b596a5a73e63e5e930c414375c0c389199ab (patch) | |
tree | 900d4b3a6d198edc2045511b5b8d6001755bcfbf /lib/debugobjects.c | |
parent | mem-hotplug: fix potential race while building zonelist for new populated zone (diff) | |
download | linux-dev-c6f6b596a5a73e63e5e930c414375c0c389199ab.tar.xz linux-dev-c6f6b596a5a73e63e5e930c414375c0c389199ab.zip |
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 <cmetcalf@tilera.com>
Cc: Barry Song <21cnbao@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions