[patch 32/43] rename setup_ktimeout() to ktimeout_setup()
From: Thomas Gleixner
Date: Wed Nov 30 2005 - 18:59:10 EST
plain text document attachment (ktimeout-rename-ktimeout_setup.patch)
- rename setup_ktimeout() to ktimeout_setup()
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
include/linux/ktimeout.h | 2 +-
include/linux/timer.h | 2 +-
kernel/ktimeout.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
Index: linux/include/linux/ktimeout.h
===================================================================
--- linux.orig/include/linux/ktimeout.h
+++ linux/include/linux/ktimeout.h
@@ -36,7 +36,7 @@ extern struct ktimeout_base_s __init_kti
void fastcall ktimeout_init(struct ktimeout * ktimeout);
-static inline void setup_ktimeout(struct ktimeout * ktimeout,
+static inline void ktimeout_setup(struct ktimeout * ktimeout,
void (*function)(unsigned long),
unsigned long data)
{
Index: linux/include/linux/timer.h
===================================================================
--- linux.orig/include/linux/timer.h
+++ linux/include/linux/timer.h
@@ -17,7 +17,7 @@
#define TIMER_INITIALIZER KTIMEOUT_INITIALIZER
#define DEFINE_TIMER DEFINE_KTIMEOUT
#define init_timer ktimeout_init
-#define setup_timer setup_ktimeout
+#define setup_timer ktimeout_setup
#define timer_pending ktimeout_pending
#define add_timer_on add_ktimeout_on
#define del_timer del_ktimeout
Index: linux/kernel/ktimeout.c
===================================================================
--- linux.orig/kernel/ktimeout.c
+++ linux/kernel/ktimeout.c
@@ -621,7 +621,7 @@ fastcall signed long __sched schedule_ti
expire = timeout + jiffies;
- setup_ktimeout(&ktimeout, process_timeout, (unsigned long)current);
+ ktimeout_setup(&ktimeout, process_timeout, (unsigned long)current);
__mod_ktimeout(&ktimeout, expire);
schedule();
del_singleshot_ktimeout_sync(&ktimeout);
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/