summaryrefslogtreecommitdiff
path: root/include/linux/smp.h
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-03-13 00:44:37 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-03-13 00:44:37 -0800
commite1c5659448192528fe6ea13dfc6ea9a9d85b73fb (patch)
tree227ea50bdefa9b27f1453a72c538057820003ad8 /include/linux/smp.h
parenta1a57d660997752e4f012a190c40e37df53b57cb (diff)
[PATCH] smp{,boot}.c cleanups
This patch contains the following cleanups on several architectures: - make some needlessly global code static - remove the following write-only (except for printk's) variables: - cache_decay_ticks - smp_threads_ready - cacheflush_time I've only tried the compilation on i386, but I hope all mistakes I made are on unimportant architectures. ;-) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/smp.h')
-rw-r--r--include/linux/smp.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/smp.h b/include/linux/smp.h
index c438ec9880e9..dcf1db3b35d3 100644
--- a/include/linux/smp.h
+++ b/include/linux/smp.h
@@ -71,11 +71,6 @@ static inline int on_each_cpu(void (*func) (void *info), void *info,
return ret;
}
-/*
- * True once the per process idle is forked
- */
-extern int smp_threads_ready;
-
#define MSG_ALL_BUT_SELF 0x8000 /* Assume <32768 CPU's */
#define MSG_ALL 0x8001
@@ -102,7 +97,6 @@ void smp_prepare_boot_cpu(void);
# define smp_processor_id() 0
#endif
#define hard_smp_processor_id() 0
-#define smp_threads_ready 1
#define smp_call_function(func,info,retry,wait) ({ 0; })
#define on_each_cpu(func,info,retry,wait) ({ func(info); 0; })
static inline void smp_send_reschedule(int cpu) { }