From e1c5659448192528fe6ea13dfc6ea9a9d85b73fb Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Sun, 13 Mar 2005 00:44:37 -0800 Subject: [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/linux/smp.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'include/linux/smp.h') 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) { } -- cgit v1.2.3