summaryrefslogtreecommitdiffstats
path: root/abs/core/ndiswrapper/kernel-2.6.36.patch
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-11-06 18:45:02 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-11-06 18:45:02 (GMT)
commit46a6e7cab8d70c922129b1d7ce38d577e5e0f445 (patch)
treee30d8d97ce3e31826dcf2dcf4f1d8d211ae66720 /abs/core/ndiswrapper/kernel-2.6.36.patch
parentcb48b42b2208d75d4d6057417767d8327cebd389 (diff)
downloadlinhes_pkgbuild-46a6e7cab8d70c922129b1d7ce38d577e5e0f445.zip
linhes_pkgbuild-46a6e7cab8d70c922129b1d7ce38d577e5e0f445.tar.gz
linhes_pkgbuild-46a6e7cab8d70c922129b1d7ce38d577e5e0f445.tar.bz2
ndiswrapper: recompile for new kernel .36
ref #574 ref #647
Diffstat (limited to 'abs/core/ndiswrapper/kernel-2.6.36.patch')
-rw-r--r--abs/core/ndiswrapper/kernel-2.6.36.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/abs/core/ndiswrapper/kernel-2.6.36.patch b/abs/core/ndiswrapper/kernel-2.6.36.patch
new file mode 100644
index 0000000..63de303
--- /dev/null
+++ b/abs/core/ndiswrapper/kernel-2.6.36.patch
@@ -0,0 +1,27 @@
+--- ndiswrapper-1.56.orig/driver/loader.c 2010-02-11 03:09:32.000000000 +0100
++++ ndiswrapper-1.56/driver/loader.c 2010-10-24 01:38:13.000000000 +0200
+@@ -750,13 +750,13 @@
+ }
+
+ /* called with loader_mutex is down */
+-static int wrapper_ioctl(struct inode *inode, struct file *file,
++static long wrapper_unlocked_ioctl(struct file *file,
+ unsigned int cmd, unsigned long arg)
+ {
+ struct load_driver *load_driver;
+ struct load_device load_device;
+ struct load_driver_file load_bin_file;
+- int ret;
++ long ret;
+ void __user *addr = (void __user *)arg;
+
+ ENTER1("cmd: %u", cmd);
+@@ -831,7 +831,7 @@
+
+ static struct file_operations wrapper_fops = {
+ .owner = THIS_MODULE,
+- .ioctl = wrapper_ioctl,
++ .unlocked_ioctl = wrapper_unlocked_ioctl,
+ .release = wrapper_ioctl_release,
+ };
+