summaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.22/900-headers_type_and_time.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.22/900-headers_type_and_time.patch')
-rw-r--r--target/linux/generic-2.6/patches-2.6.22/900-headers_type_and_time.patch16
1 files changed, 6 insertions, 10 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.22/900-headers_type_and_time.patch b/target/linux/generic-2.6/patches-2.6.22/900-headers_type_and_time.patch
index a190b2cce1..465f788624 100644
--- a/target/linux/generic-2.6/patches-2.6.22/900-headers_type_and_time.patch
+++ b/target/linux/generic-2.6/patches-2.6.22/900-headers_type_and_time.patch
@@ -1,7 +1,5 @@
-Index: linux-2.6.22.19/include/linux/time.h
-===================================================================
---- linux-2.6.22.19.orig/include/linux/time.h
-+++ linux-2.6.22.19/include/linux/time.h
+--- a/include/linux/time.h
++++ b/include/linux/time.h
@@ -1,6 +1,10 @@
#ifndef _LINUX_TIME_H
#define _LINUX_TIME_H
@@ -13,17 +11,15 @@ Index: linux-2.6.22.19/include/linux/time.h
#include <linux/types.h>
#ifdef __KERNEL__
-@@ -225,4 +229,6 @@ struct itimerval {
+@@ -225,4 +229,6 @@
*/
#define TIMER_ABSTIME 0x01
+#endif /* __KERNEL__ DEBIAN */
+
#endif
-Index: linux-2.6.22.19/include/linux/types.h
-===================================================================
---- linux-2.6.22.19.orig/include/linux/types.h
-+++ linux-2.6.22.19/include/linux/types.h
+--- a/include/linux/types.h
++++ b/include/linux/types.h
@@ -1,6 +1,14 @@
#ifndef _LINUX_TYPES_H
#define _LINUX_TYPES_H
@@ -39,7 +35,7 @@ Index: linux-2.6.22.19/include/linux/types.h
#ifdef __KERNEL__
#define BITS_TO_LONGS(bits) \
-@@ -162,6 +170,8 @@ typedef unsigned long blkcnt_t;
+@@ -162,6 +170,8 @@
#endif /* __KERNEL_STRICT_NAMES */