crosstool-ng/patches/linux/2.4.26/linux-2.4.26-wdt977-uaccess.patch

18 lines
587 B
Diff
Raw Normal View History

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