[POWERPC] 85xx: Cleanup TLB initialization
authorKumar Gala <galak@kernel.crashing.org>
Tue, 15 Apr 2008 19:52:23 +0000 (05:52 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 16 Apr 2008 21:46:13 +0000 (07:46 +1000)
commit0aef996b37d08757562ecf0bb0c1f6998e634c8b
treeaaf590eeabc3c6bf0bcfa4ea1402e9c27a164213
parentd7917ba7051e3fd12ebe2d5a09b29fb3a2b38190
[POWERPC] 85xx: Cleanup TLB initialization

* Determine the RPN we are running the kernel at runtime rather
  than using compile time constant for initial TLB

* Cleanup adjust_total_lowmem() to respect memstart_addr and
  be a bit more clear on variables that are sizes vs addresses.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/head_fsl_booke.S
arch/powerpc/mm/fsl_booke_mmu.c