patches/linux/2.4.26/linux-2.4.26-wdt977-uaccess.patch
changeset 1 eeea35fbf182
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/linux/2.4.26/linux-2.4.26-wdt977-uaccess.patch	Sat Feb 24 11:00:05 2007 +0000
     1.3 @@ -0,0 +1,17 @@
     1.4 +Fixes drivers/char/char.o(.text+0x178a4): In function `$a':
     1.5 +: undefined reference to `get_user'
     1.6 +
     1.7 +Part of ftp://ftp.arm.linux.org.uk/pub/armlinux/source/kernel-patches/v2.4/patch-2.4.26-vrs1.bz2
     1.8 +
     1.9 +diff -urN linux-2.4.26/drivers/char/wdt977.c linux-2.4.26-vrs1/drivers/char/wdt977.c
    1.10 +--- linux-2.4.26/drivers/char/wdt977.c	2002-11-28 23:53:12.000000000 +0000
    1.11 ++++ linux-2.4.26-vrs1/drivers/char/wdt977.c	2004-01-14 21:32:25.000000000 +0000
    1.12 +@@ -27,6 +27,7 @@
    1.13 + #include <asm/io.h>
    1.14 + #include <asm/system.h>
    1.15 + #include <asm/mach-types.h>
    1.16 ++#include <asm/uaccess.h>
    1.17 + 
    1.18 + #define WATCHDOG_MINOR	130
    1.19 + 
    1.20 +