patch-2.4.2 linux/include/asm-s390/smp.h
Next file: linux/include/asm-s390/smplock.h
Previous file: linux/include/asm-s390/sigp.h
Back to the patch index
Back to the overall index
- Lines: 33
- Date:
Tue Feb 13 14:13:44 2001
- Orig file:
v2.4.1/linux/include/asm-s390/smp.h
- Orig date:
Fri May 12 11:41:44 2000
diff -u --recursive --new-file v2.4.1/linux/include/asm-s390/smp.h linux/include/asm-s390/smp.h
@@ -13,7 +13,7 @@
#ifndef __ASSEMBLY__
#include <asm/lowcore.h>
-#include <linux/tasks.h> // FOR NR_CPUS definition only.
+#include <linux/threads.h> // FOR NR_CPUS definition only.
#include <linux/kernel.h> // FOR FASTCALL definition
#define smp_processor_id() (current->processor)
@@ -31,7 +31,6 @@
#define PROC_CHANGE_PENALTY 20 /* Schedule penalty */
-extern unsigned long ipi_count;
extern void count_cpus(void);
extern __inline__ int cpu_logical_map(int cpu)
@@ -67,10 +66,11 @@
__u16 cpu;
} sigp_info;
-sigp_ccode smp_ext_call_sync(int cpu, ec_cmd_sig cmd,void *parms);
-sigp_ccode smp_ext_call_async(int cpu, ec_bit_sig sig);
-void smp_ext_call_sync_others(ec_cmd_sig cmd, void *parms);
-void smp_ext_call_async_others(ec_bit_sig sig);
+sigp_ccode
+smp_ext_call(int cpu, void (*callback)(void *info), void *info, int wait);
+void smp_ext_call_others(void (*callback)(void *info), void *info, int wait);
+sigp_ccode smp_ext_bitcall(int cpu, ec_bit_sig sig);
+void smp_ext_bitcall_others(ec_bit_sig sig);
int smp_signal_others(sigp_order_code order_code,__u32 parameter,
int spin,sigp_info *info);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)