patch-2.4.4 linux/arch/s390/kernel/smp.c

Next file: linux/arch/s390/kernel/traps.c
Previous file: linux/arch/s390/kernel/signal.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/arch/s390/kernel/smp.c linux/arch/s390/kernel/smp.c
@@ -20,6 +20,7 @@
  * cpu_number_map in other architectures.
  */
 
+#include <linux/module.h>
 #include <linux/init.h>
 
 #include <linux/mm.h>
@@ -33,8 +34,7 @@
 #include <asm/pgalloc.h>
 #include <asm/irq.h>
 #include <asm/s390_ext.h>
-
-#include "cpcmd.h"
+#include <asm/cpcmd.h>
 
 /* prototypes */
 extern int cpu_idle(void * unused);
@@ -390,7 +390,7 @@
 
         /* stop all processors */
 
-        smp_signal_others(sigp_stop, 0, TRUE, NULL);
+        smp_signal_others(sigp_stop, 0, 1, NULL);
 
         /* store status of all processors in their lowcores (real 0) */
 
@@ -586,7 +586,7 @@
        struct pt_regs regs;
        /* don't care about the psw and regs settings since we'll never
           reschedule the forked task. */
-       memset(&regs,0,sizeof(pt_regs));
+       memset(&regs,0,sizeof(struct pt_regs));
        return do_fork(CLONE_VM|CLONE_PID, 0, &regs, 0);
 }
 
@@ -772,3 +772,7 @@
         }
 }
 
+EXPORT_SYMBOL(lowcore_ptr);
+EXPORT_SYMBOL(kernel_flag);
+EXPORT_SYMBOL(smp_ctl_set_bit);
+EXPORT_SYMBOL(smp_ctl_clear_bit);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)