plain text document attachment (ktimeout-rename-ktimeout_init.patch)
- rename init_ktimeout() to ktimeout_init()
Signed-off-by: Ingo Molnar <[email protected]>
include/linux/ktimeout.h | 4 ++--
include/linux/timer.h | 2 +-
kernel/ktimeout.c | 8 ++++----
3 files changed, 7 insertions(+), 7 deletions(-)
Index: linux/include/linux/ktimeout.h
===================================================================
--- linux.orig/include/linux/ktimeout.h
+++ linux/include/linux/ktimeout.h
@@ -34,7 +34,7 @@ extern struct ktimeout_base_s __init_kti
struct ktimeout _name = \
KTIMEOUT_INITIALIZER(_function, _expires, _data)
-void fastcall init_ktimeout(struct ktimeout * ktimeout);
+void fastcall ktimeout_init(struct ktimeout * ktimeout);
static inline void setup_ktimeout(struct ktimeout * ktimeout,
void (*function)(unsigned long),
@@ -42,7 +42,7 @@ static inline void setup_ktimeout(struct
{
ktimeout->function = function;
ktimeout->data = data;
- init_ktimeout(ktimeout);
+ ktimeout_init(ktimeout);
}
/***
Index: linux/include/linux/timer.h
===================================================================
--- linux.orig/include/linux/timer.h
+++ linux/include/linux/timer.h
@@ -16,7 +16,7 @@
*/
#define TIMER_INITIALIZER KTIMEOUT_INITIALIZER
#define DEFINE_TIMER DEFINE_KTIMEOUT
-#define init_timer init_ktimeout
+#define init_timer ktimeout_init
#define setup_timer setup_ktimeout
#define timer_pending ktimeout_pending
#define add_timer_on add_ktimeout_on
Index: linux/kernel/ktimeout.c
===================================================================
--- linux.orig/kernel/ktimeout.c
+++ linux/kernel/ktimeout.c
@@ -135,18 +135,18 @@ ktimeout_base_t __init_ktimeout_base
EXPORT_SYMBOL(__init_ktimeout_base);
/***
- * init_ktimeout - initialize a timeout.
+ * ktimeout_init - initialize a timeout.
* @ktimeout: the timeout to be initialized
*
- * init_ktimeout() must be done to a timeout prior calling *any* of the
+ * ktimeout_init() must be done to a timeout prior calling *any* of the
* other timeout functions.
*/
-void fastcall init_ktimeout(struct ktimeout *ktimeout)
+void fastcall ktimeout_init(struct ktimeout *ktimeout)
{
ktimeout->entry.next = NULL;
ktimeout->base = &per_cpu(tvec_bases, raw_smp_processor_id()).t_base;
}
-EXPORT_SYMBOL(init_ktimeout);
+EXPORT_SYMBOL(ktimeout_init);
static inline void detach_ktimeout(struct ktimeout *ktimeout,
int clear_pending)
--
-
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]