OSDN Git Service

tty: keyboard.c: add uaccess.h to fix a build problem on sparc32
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Feb 2012 23:18:56 +0000 (15:18 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Feb 2012 23:18:56 +0000 (15:18 -0800)
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/keyboard.c

index 0479114..898e359 100644 (file)
@@ -41,6 +41,7 @@
 #include <linux/reboot.h>
 #include <linux/notifier.h>
 #include <linux/jiffies.h>
+#include <linux/uaccess.h>
 
 #include <asm/irq_regs.h>