patch-2.4.22 linux-2.4.22/arch/ppc64/kernel/mf.c
Next file: linux-2.4.22/arch/ppc64/kernel/misc.S
Previous file: linux-2.4.22/arch/ppc64/kernel/ioctl32.c
Back to the patch index
Back to the overall index
-  Lines: 19
-  Date:
2003-08-25 04:44:40.000000000 -0700
-  Orig file: 
linux-2.4.21/arch/ppc64/kernel/mf.c
-  Orig date: 
2002-11-28 15:53:11.000000000 -0800
diff -urN linux-2.4.21/arch/ppc64/kernel/mf.c linux-2.4.22/arch/ppc64/kernel/mf.c
@@ -44,7 +44,7 @@
 extern struct pci_dev * iSeries_vio_dev;
 
 /*
- * This is the structure layout for the Machine Facilites LPAR event
+ * This is the structure layout for the Machine Facilities LPAR event
  * flows.
  */
 struct VspCmdData;
@@ -402,7 +402,8 @@
  */
 static int shutdown( void )
 {
-	int rc = kill_proc(1,SIGINT,1);
+	extern int cad_pid; /* from kernel/sys.c */
+	int rc = kill_proc(cad_pid,SIGINT,1);
 
 	if ( rc )
 	{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)