patch-2.4.21 linux-2.4.21/arch/ppc64/kernel/pacaData.c
Next file: linux-2.4.21/arch/ppc64/kernel/pci.c
Previous file: linux-2.4.21/arch/ppc64/kernel/pSeries_pci.c
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
2003-06-13 07:51:32.000000000 -0700
- Orig file:
linux-2.4.20/arch/ppc64/kernel/pacaData.c
- Orig date:
2002-11-28 15:53:11.000000000 -0800
diff -urN linux-2.4.20/arch/ppc64/kernel/pacaData.c linux-2.4.21/arch/ppc64/kernel/pacaData.c
@@ -12,6 +12,8 @@
#include <stddef.h>
#include <linux/config.h>
#include <linux/threads.h>
+#include <asm/page.h>
+#include <asm/mmu.h>
#include <asm/processor.h>
#include <asm/ptrace.h>
@@ -20,6 +22,7 @@
#include <asm/paca.h>
struct naca_struct *naca;
+struct systemcfg *systemcfg;
/* The Paca is an array with one entry per processor. Each contains an
* ItLpPaca, which contains the information shared between the
@@ -65,9 +68,9 @@
struct paca_struct paca[MAX_PACAS] __page_aligned = {
#ifdef CONFIG_PPC_ISERIES
- PACAINITDATA( 0, 1, &xItLpQueue, 0, 0xc000000000005000),
+ PACAINITDATA( 0, 1, &xItLpQueue, 0, STAB0_VIRT_ADDR),
#else
- PACAINITDATA( 0, 1, 0, 0x5000, 0xc000000000005000),
+ PACAINITDATA( 0, 1, 0, STAB0_PHYS_ADDR, STAB0_VIRT_ADDR),
#endif
PACAINITDATA( 1, 0, 0, 0, 0),
PACAINITDATA( 2, 0, 0, 0, 0),
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)