1
linux/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 header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
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 m32r: fix tme_handler to check _PAGE_PRESENT bit 2007-05-11 08:29:33 -07:00
page.S