2002-12-16 19:15:55

by Bjorn Helgaas

[permalink] [raw]
Subject: [PATCH] Remove obsolete SMP declarations

Remove obsolete declarations. All unused except smp_callin(),
which is always defined before use in architecture-specific code.

Applies to 2.4.20.

diff -Nru a/include/linux/smp.h b/include/linux/smp.h
--- a/include/linux/smp.h Mon Dec 16 12:13:05 2002
+++ b/include/linux/smp.h Mon Dec 16 12:13:05 2002
@@ -35,11 +35,6 @@
extern void smp_boot_cpus(void);

/*
- * Processor call in. Must hold processors until ..
- */
-extern void smp_callin(void);
-
-/*
* Multiprocessors may now schedule
*/
extern void smp_commence(void);
@@ -56,10 +51,6 @@
extern int smp_threads_ready;

extern int smp_num_cpus;
-
-extern volatile unsigned long smp_msg_data;
-extern volatile int smp_src_cpu;
-extern volatile int smp_msg_id;

#define MSG_ALL_BUT_SELF 0x8000 /* Assume <32768 CPU's */
#define MSG_ALL 0x8001