patch-2.4.22 linux-2.4.22/arch/ppc/mm/ppc_mmu.c
Next file: linux-2.4.22/arch/ppc/mm/tlb.c
Previous file: linux-2.4.22/arch/ppc/mm/pgtable.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
2003-08-25 04:44:40.000000000 -0700
- Orig file:
linux-2.4.21/arch/ppc/mm/ppc_mmu.c
- Orig date:
2003-06-13 07:51:31.000000000 -0700
diff -urN linux-2.4.21/arch/ppc/mm/ppc_mmu.c linux-2.4.22/arch/ppc/mm/ppc_mmu.c
@@ -7,7 +7,7 @@
* specification, the need to work through the hypervisor makes
* things sufficiently different that it is handled elsewhere.
* -- paulus
- *
+ *
* Derived from arch/ppc/mm/init.c:
* Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
*
@@ -86,13 +86,13 @@
void __init bat_mapin_ram(unsigned long bat2, unsigned long bat3)
{
unsigned long tot, done;
-
+
tot = total_lowmem;
setbat(2, KERNELBASE, PPC_MEMSTART, bat2, _PAGE_KERNEL);
done = (unsigned long)bat_addrs[2].limit - KERNELBASE + 1;
if ((done < tot) && !bat_addrs[3].limit && bat3) {
tot -= done;
- setbat(3, KERNELBASE+done, PPC_MEMSTART+done, bat3,
+ setbat(3, KERNELBASE+done, PPC_MEMSTART+done, bat3,
_PAGE_KERNEL);
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)