Skip to content
Commit c6f6b596 authored by Chris Metcalf's avatar Chris Metcalf Committed by Linus Torvalds
Browse files

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: default avatarChris Metcalf <cmetcalf@tilera.com>
Cc: Barry Song <21cnbao@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 4eaf3f64
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment