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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cache.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
discontig.c generic: make PFN_PHYS explicitly return phys_addr_t 2008-09-14 17:24:26 +02:00
extable.c [PATCH] m32r: Cleanup arch/m32r/mm/extable.c 2005-06-21 19:07:31 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ioremap.c [PATCH] Generic ioremap_page_range: m32r conversion 2006-10-01 00:39:31 -07:00
mmu.S m32r: fix tme_handler to check _PAGE_PRESENT bit 2007-05-11 08:29:33 -07:00
page.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00