summaryrefslogtreecommitdiff
path: root/patches/linux/2.4.26/160-linux-2.4.26-wdt977-uaccess.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/linux/2.4.26/160-linux-2.4.26-wdt977-uaccess.patch')
-rw-r--r--patches/linux/2.4.26/160-linux-2.4.26-wdt977-uaccess.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/patches/linux/2.4.26/160-linux-2.4.26-wdt977-uaccess.patch b/patches/linux/2.4.26/160-linux-2.4.26-wdt977-uaccess.patch
new file mode 100644
index 0000000..3dc0a48
--- /dev/null
+++ b/patches/linux/2.4.26/160-linux-2.4.26-wdt977-uaccess.patch
@@ -0,0 +1,17 @@
+Fixes drivers/char/char.o(.text+0x178a4): In function `$a':
+: undefined reference to `get_user'
+
+Part of ftp://ftp.arm.linux.org.uk/pub/armlinux/source/kernel-patches/v2.4/patch-2.4.26-vrs1.bz2
+
+diff -urN linux-2.4.26/drivers/char/wdt977.c linux-2.4.26-vrs1/drivers/char/wdt977.c
+--- linux-2.4.26/drivers/char/wdt977.c 2002-11-28 23:53:12.000000000 +0000
++++ linux-2.4.26-vrs1/drivers/char/wdt977.c 2004-01-14 21:32:25.000000000 +0000
+@@ -27,6 +27,7 @@
+ #include <asm/io.h>
+ #include <asm/system.h>
+ #include <asm/mach-types.h>
++#include <asm/uaccess.h>
+
+ #define WATCHDOG_MINOR 130
+
+