dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/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
..
Makefile
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
init.c m32r: use generic show_mem() 2008-07-26 12:00:11 -07:00
ioremap-nommu.c
ioremap.c
mmu.S
page.S