Skip to contentSkip to conversation

Remove sync_timers

PATCH New Matthew Wilcox 1 participant 1 message Jun 18, 2002 High-resolution timers, timer wheel, clockevents

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove sync_timers

Nobody's using it any more, kill:

include/linux/timer.h +0 -2
diff -urNX dontdiff linux-2.5.22/include/linux/timer.h linux-2.5.22-bh/include/linux/timer.h
@@ -25,10 +25,8 @@
 
 #ifdef CONFIG_SMP
 extern int del_timer_sync(struct timer_list * timer);
-extern void sync_timers(void);
 #else
 #define del_timer_sync(t)	del_timer(t)
-#define sync_timers()		do { } while (0)
 #endif
 
 /*
kernel/timer.c +0 -5
diff -urNX dontdiff linux-2.5.22/kernel/timer.c linux-2.5.22-bh/kernel/timer.c
@@ -231,11 +232,6 @@
 }
 
 #ifdef CONFIG_SMP
-void sync_timers(void)
-{
-	spin_unlock_wait(&global_bh_lock);
-}
-
 /*
  * SMP specific function to delete periodic timer.
  * Caller must disable by some means restarting the timer
Signature · 1 line
Revolutions do not require corporate support.