]> err.no Git - linux-2.6/commit
powerpc: Fix problems with 32bit PPC's running with >= 4GB of RAM
authorStefan Roese <sr@denx.de>
Wed, 9 Jul 2008 15:09:23 +0000 (01:09 +1000)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Wed, 9 Jul 2008 18:13:01 +0000 (14:13 -0400)
commit2bf3016f89344d4cd8b2c96bbec2b642a2bde413
treedd472d2d20ae41bc93c189ca141ea61ddae9826a
parent3fa69dd57759cb45fa48bb70a055025d25a7e4e8
powerpc: Fix problems with 32bit PPC's running with >= 4GB of RAM

This patch enables 32bit PPC's (with 36bit physical address space, e.g.
IBM/AMCC PPC44x) to run with >= 4GB of RAM. Mostly its just replacing types
(unsigned long -> phys_addr_t).

Tested on an AMCC Katmai with 4GB of DDR2.

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
arch/powerpc/mm/init_32.c
arch/powerpc/mm/mem.c
arch/powerpc/mm/mmu_decl.h