[patch 32/43] rename setup_ktimeout() to ktimeout_setup()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



plain text document attachment (ktimeout-rename-ktimeout_setup.patch)
- rename setup_ktimeout() to ktimeout_setup()

Signed-off-by: Ingo Molnar <[email protected]>

 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux