plain text document attachment (ktimeout-struct-base.patch)
- change the main timeout data structure from 'struct timer_list'
to 'struct ktimeout'
- introduce compatibility define for timer_list
Signed-off-by: Ingo Molnar <[email protected]>
include/linux/ktimeout.h | 2 +-
include/linux/timer.h | 7 ++++++-
2 files changed, 7 insertions(+), 2 deletions(-)
Index: linux/include/linux/ktimeout.h
===================================================================
--- linux.orig/include/linux/ktimeout.h
+++ linux/include/linux/ktimeout.h
@@ -8,7 +8,7 @@
struct timer_base_s;
-struct timer_list {
+struct ktimeout {
struct list_head entry;
unsigned long expires;
Index: linux/include/linux/timer.h
===================================================================
--- linux.orig/include/linux/timer.h
+++ linux/include/linux/timer.h
@@ -1,9 +1,14 @@
+/*
+ * This file is a compatibility placeholder - it will go away.
+ */
#ifndef _LINUX_TIMER_H
#define _LINUX_TIMER_H
/*
- * This file is a compatibility placeholder - it will go away.
+ * Compatibility define to turn 'struct timer_list' into 'struct ktimeout':
*/
+#define timer_list ktimeout
+
#include <linux/ktimeout.h>
extern int it_real_fn(void *);
--
-
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]