summaryrefslogtreecommitdiff
path: root/arch/powerpc/boot/page.h
diff options
context:
space:
mode:
authorIlya Yanok <yanok@emcraft.com>2008-09-01 11:53:22 +0400
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>2008-09-02 16:31:10 +0400
commitcc2e113b4bbd415d53d8bb87a446cde6b7ce8acc (patch)
treef55b955cf25703e604e3104dec04ec7c5ed9c1ea /arch/powerpc/boot/page.h
parent38d56f1677130004497835a776feb84f068ce22a (diff)
downloadlinux-cc2e113b4bbd415d53d8bb87a446cde6b7ce8acc.tar.xz
powerpc/4xx: Necessary fixes to PCI for 4GB RAM size
The declaration of total_memory removed. Now including <mm/mmu_decl.h> instead. Since total_memory is a phys_addr_t which is 64-bit on 44x and is_power_of_2() works with u32 so I just inlined (size & (size-1)) != 0 instead. Also this patch fixes default initialization: res->end should be 0x7fffffff not 0x80000000. Signed-off-by: Ilya Yanok <yanok@emcraft.com> Acked-by: Stefan Roese <sr@denx.de> Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'arch/powerpc/boot/page.h')
0 files changed, 0 insertions, 0 deletions