patch-2.4.20 linux-2.4.20/arch/ppc64/kernel/LparData.c
Next file: linux-2.4.20/arch/ppc64/kernel/Makefile
Previous file: linux-2.4.20/arch/ppc64/defconfig
Back to the patch index
Back to the overall index
- Lines: 60
- Date:
Thu Nov 28 15:53:11 2002
- Orig file:
linux-2.4.19/arch/ppc64/kernel/LparData.c
- Orig date:
Fri Aug 2 17:39:43 2002
diff -urN linux-2.4.19/arch/ppc64/kernel/LparData.c linux-2.4.20/arch/ppc64/kernel/LparData.c
@@ -6,14 +6,12 @@
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*/
-#define __KERNEL__ 1
#include <asm/types.h>
#include <asm/page.h>
#include <stddef.h>
#include <linux/threads.h>
#include <asm/processor.h>
#include <asm/ptrace.h>
-#include <asm/init.h>
#include <asm/naca.h>
#include <asm/abs_addr.h>
#include <asm/bitops.h>
@@ -25,6 +23,7 @@
#include <asm/iSeries/LparMap.h>
#include <asm/iSeries/ItVpdAreas.h>
#include <asm/iSeries/ItIplParmsReal.h>
+#include <asm/iSeries/ItExtVpdPanel.h>
#include <asm/iSeries/ItLpQueue.h>
#include <asm/iSeries/IoHriProcessorVpd.h>
#include <asm/iSeries/ItSpCommArea.h>
@@ -144,6 +143,8 @@
struct ItIplParmsReal xItIplParmsReal = {};
+struct ItExtVpdPanel xItExtVpdPanel = {};
+
#define maxPhysicalProcessors 32
struct IoHriProcessorVpd xIoHriProcessorVpd[maxPhysicalProcessors] = {
@@ -185,7 +186,8 @@
{0}, /* DMA lengths */
{0}, /* DMA tokens */
{ /* VPD lengths */
- 0,0,0,0, /* 0 - 3 */
+ 0,0,0, /* 0 - 2 */
+ sizeof(xItExtVpdPanel), /* 3 Extended VPD */
sizeof(struct paca_struct), /* 4 length of Paca */
0, /* 5 */
sizeof(struct ItIplParmsReal),/* 6 length of IPL parms */
@@ -202,7 +204,8 @@
0,0 /* 24 - 25 */
},
{ /* VPD addresses */
- 0,0,0,0, /* 0 - 3 */
+ 0,0,0, /* 0 - 2 */
+ &xItExtVpdPanel, /* 3 Extended VPD */
&paca[0], /* 4 first Paca */
0, /* 5 */
&xItIplParmsReal, /* 6 IPL parms */
@@ -244,7 +247,3 @@
return mem;
}
-
-
-
-
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)