lkml.org 
[lkml]   [2002]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Remove sync_timers

Nobody's using it any more, kill:

diff -urNX dontdiff linux-2.5.22/include/linux/timer.h linux-2.5.22-bh/include/linux/timer.h
--- linux-2.5.22/include/linux/timer.h Thu Jun 6 06:57:51 2002
+++ linux-2.5.22-bh/include/linux/timer.h Mon Jun 17 16:02:04 2002
@@ -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

/*
diff -urNX dontdiff linux-2.5.22/kernel/timer.c linux-2.5.22-bh/kernel/timer.c
--- linux-2.5.22/kernel/timer.c Sun Jun 9 06:09:49 2002
+++ linux-2.5.22-bh/kernel/timer.c Tue Jun 18 05:13:51 2002
@@ -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
--
Revolutions do not require corporate support.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.033 / U:0.708 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site