android_kernel_xiaomi_sm8350/arch/m32r/mm
Jeremy Fitzhardinge 947d0496cf generic: make PFN_PHYS explicitly return phys_addr_t
PFN_PHYS, as its name suggests, turns a pfn into a physical address.
However, it is a macro which just operates on its argument without
modifying its type.  pfns are typed unsigned long, but an unsigned
long may not be long enough to hold a physical address (32-bit systems
with more than 32 bits of physcial address).

Make sure we cast to phys_addr_t to return a complete result.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-09-14 17:24:26 +02:00
..
cache.c
discontig.c generic: make PFN_PHYS explicitly return phys_addr_t 2008-09-14 17:24:26 +02:00
extable.c
fault-nommu.c
fault.c pid namespaces: define is_global_init() and is_container_init() 2007-10-19 11:53:37 -07:00
init.c m32r: use generic show_mem() 2008-07-26 12:00:11 -07:00
ioremap-nommu.c
ioremap.c
Makefile
mmu.S
page.S