diff options
Diffstat (limited to 'include/linux/smp.h')
-rw-r--r-- | include/linux/smp.h | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/include/linux/smp.h b/include/linux/smp.h index 5034c71f6..80ea3056f 100644 --- a/include/linux/smp.h +++ b/include/linux/smp.h @@ -11,12 +11,22 @@ #include <asm/smp.h> /* - * main IPI interface, handles INIT, TLB flush, STOP, etc. (defined in asm header): - * - * extern void smp_message_pass(int target, int msg, unsigned long data, int wait); + * main cross-CPU interfaces, handles INIT, TLB flush, STOP, etc. + * (defined in asm header): */ /* + * stops all CPUs but the current one: + */ +extern void smp_send_stop(void); + +/* + * sends a 'reschedule' event to another CPU: + */ +extern void FASTCALL(smp_send_reschedule(int cpu)); + + +/* * Boot processor call to load the other CPU's */ extern void smp_boot_cpus(void); @@ -61,7 +71,6 @@ extern volatile int smp_msg_id; #define smp_num_cpus 1 #define smp_processor_id() 0 #define hard_smp_processor_id() 0 -#define smp_message_pass(t,m,d,w) #define smp_threads_ready 1 #define kernel_lock() #define cpu_logical_map(cpu) 0 |