summaryrefslogtreecommitdiff
path: root/patches/linux/2.4.26/160-linux-2.4.26-wdt977-uaccess.patch
blob: 3dc0a48b815939cab3572398eff85408c41d6709 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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