aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/kernel-headers/patches-3.3.5
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/kernel-headers/patches-3.3.5')
-rw-r--r--toolchain/kernel-headers/patches-3.3.5/.svn/entries62
-rw-r--r--toolchain/kernel-headers/patches-3.3.5/.svn/text-base/100-ext2_fs_header.patch.svn-base24
-rw-r--r--toolchain/kernel-headers/patches-3.3.5/100-ext2_fs_header.patch24
3 files changed, 110 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/patches-3.3.5/.svn/entries b/toolchain/kernel-headers/patches-3.3.5/.svn/entries
new file mode 100644
index 0000000..09c8183
--- /dev/null
+++ b/toolchain/kernel-headers/patches-3.3.5/.svn/entries
@@ -0,0 +1,62 @@
+10
+
+dir
+36060
+svn://svn.openwrt.org/openwrt/trunk/toolchain/kernel-headers/patches-3.3.5
+svn://svn.openwrt.org/openwrt
+
+
+
+2012-05-13T05:02:27.438268Z
+31697
+cshore
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+3c298f89-4303-0410-b956-a3cf2f4a3e73
+
+100-ext2_fs_header.patch
+file
+
+
+
+
+2013-03-17T12:13:24.000000Z
+46996f1fd44cf1f109936b08f694166f
+2012-05-13T05:02:27.438268Z
+31697
+cshore
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+729
+
diff --git a/toolchain/kernel-headers/patches-3.3.5/.svn/text-base/100-ext2_fs_header.patch.svn-base b/toolchain/kernel-headers/patches-3.3.5/.svn/text-base/100-ext2_fs_header.patch.svn-base
new file mode 100644
index 0000000..1bd9c9d
--- /dev/null
+++ b/toolchain/kernel-headers/patches-3.3.5/.svn/text-base/100-ext2_fs_header.patch.svn-base
@@ -0,0 +1,24 @@
+Index: linux-3.3.5/include/linux/ext2_fs.h
+===================================================================
+--- linux-3.3.5.orig/include/linux/ext2_fs.h 2012-05-12 05:49:43.555033434 -0400
++++ linux-3.3.5/include/linux/ext2_fs.h 2012-05-12 05:51:01.895033564 -0400
+@@ -209,7 +209,11 @@
+ #define EXT2_OTHER_FLMASK (EXT2_NODUMP_FL | EXT2_NOATIME_FL)
+
+ /* Mask out flags that are inappropriate for the given type of inode. */
++#ifdef __KERNEL__
+ static inline __u32 ext2_mask_flags(umode_t mode, __u32 flags)
++#else
++static inline __u32 ext2_mask_flags(unsigned short mode, __u32 flags)
++#endif
+ {
+ if (S_ISDIR(mode))
+ return flags;
+@@ -219,6 +223,7 @@
+ return flags & EXT2_OTHER_FLMASK;
+ }
+
++
+ /*
+ * ioctl commands
+ */
diff --git a/toolchain/kernel-headers/patches-3.3.5/100-ext2_fs_header.patch b/toolchain/kernel-headers/patches-3.3.5/100-ext2_fs_header.patch
new file mode 100644
index 0000000..1bd9c9d
--- /dev/null
+++ b/toolchain/kernel-headers/patches-3.3.5/100-ext2_fs_header.patch
@@ -0,0 +1,24 @@
+Index: linux-3.3.5/include/linux/ext2_fs.h
+===================================================================
+--- linux-3.3.5.orig/include/linux/ext2_fs.h 2012-05-12 05:49:43.555033434 -0400
++++ linux-3.3.5/include/linux/ext2_fs.h 2012-05-12 05:51:01.895033564 -0400
+@@ -209,7 +209,11 @@
+ #define EXT2_OTHER_FLMASK (EXT2_NODUMP_FL | EXT2_NOATIME_FL)
+
+ /* Mask out flags that are inappropriate for the given type of inode. */
++#ifdef __KERNEL__
+ static inline __u32 ext2_mask_flags(umode_t mode, __u32 flags)
++#else
++static inline __u32 ext2_mask_flags(unsigned short mode, __u32 flags)
++#endif
+ {
+ if (S_ISDIR(mode))
+ return flags;
+@@ -219,6 +223,7 @@
+ return flags & EXT2_OTHER_FLMASK;
+ }
+
++
+ /*
+ * ioctl commands
+ */