summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-06-17 02:14:06 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-06-17 02:14:06 +0000
commitdc9d8fb28c8c71d201ef38b22b07fb77be538ddd (patch)
tree38001dd4ae37acbd22cc3e694f2c577031566394 /package
parentfda94c890a57661b750fae7b519b7a2eee1983a6 (diff)
downloadmtk-20170518-dc9d8fb28c8c71d201ef38b22b07fb77be538ddd.zip
mtk-20170518-dc9d8fb28c8c71d201ef38b22b07fb77be538ddd.tar.gz
mtk-20170518-dc9d8fb28c8c71d201ef38b22b07fb77be538ddd.tar.bz2
fix shfs compile on 2.6.22
SVN-Revision: 7650
Diffstat (limited to 'package')
-rw-r--r--package/shfs/patches/109-linux_2.6.22.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/package/shfs/patches/109-linux_2.6.22.patch b/package/shfs/patches/109-linux_2.6.22.patch
new file mode 100644
index 0000000..c91e052
--- /dev/null
+++ b/package/shfs/patches/109-linux_2.6.22.patch
@@ -0,0 +1,26 @@
+Index: shfs-0.35/shfs/Linux-2.6/dir.c
+===================================================================
+--- shfs-0.35.orig/shfs/Linux-2.6/dir.c 2007-06-17 04:08:32.449815896 +0200
++++ shfs-0.35/shfs/Linux-2.6/dir.c 2007-06-17 04:08:41.766399560 +0200
+@@ -13,6 +13,7 @@
+ #include <asm/uaccess.h>
+ #include <linux/smp_lock.h>
+ #include <linux/stat.h>
++#include <linux/jiffies.h>
+
+ #include "shfs_fs.h"
+ #include "shfs_fs_i.h"
+Index: shfs-0.35/shfs/Linux-2.6/inode.c
+===================================================================
+--- shfs-0.35.orig/shfs/Linux-2.6/inode.c 2007-06-17 04:09:01.961329464 +0200
++++ shfs-0.35/shfs/Linux-2.6/inode.c 2007-06-17 04:13:08.501849608 +0200
+@@ -15,6 +15,9 @@
+ #include <asm/uaccess.h>
+ #include <linux/file.h>
+ #include <linux/smp_lock.h>
++#include <linux/jiffies.h>
++#include <linux/sched.h>
++#include <asm/current.h>
+
+ #include "shfs_fs.h"
+ #include "shfs_fs_sb.h"