]> err.no Git - linux-2.6/blobdiff - arch/ppc/mm/init.c
Merge branch 'linux-2.6'
[linux-2.6] / arch / ppc / mm / init.c
index 390dd1995c2a4ee2e7cbe4267227b76069e02eba..7444df3889c5ef1da02f21e665531104df95b33f 100644 (file)
@@ -241,12 +241,6 @@ void __init MMU_init(void)
        if (__max_memory && total_memory > __max_memory)
                total_memory = __max_memory;
        total_lowmem = total_memory;
-#ifdef CONFIG_FSL_BOOKE
-       /* Freescale Book-E parts expect lowmem to be mapped by fixed TLB
-        * entries, so we need to adjust lowmem to match the amount we can map
-        * in the fixed entries */
-       adjust_total_lowmem();
-#endif /* CONFIG_FSL_BOOKE */
        if (total_lowmem > __max_low_memory) {
                total_lowmem = __max_low_memory;
 #ifndef CONFIG_HIGHMEM
@@ -561,7 +555,7 @@ void update_mmu_cache(struct vm_area_struct *vma, unsigned long address,
                 * That means the zeroed TLB has to be invalidated
                 * whenever a page miss occurs.
                 */
-               _tlbie(address);
+               _tlbie(address, 0 /* 8xx doesn't care about PID */);
 #endif
                if (!PageReserved(page)
                    && !test_bit(PG_arch_1, &page->flags)) {