summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/sysfs.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2009-08-13 12:05:43 +0200
committerDavid S. Miller <davem@davemloft.net>2009-08-17 03:25:53 +0200
commit8abf9196008a7f06841b10769d1aed3f28c1d314 (patch)
tree609ef7f58307beffebba65b06dc5e5a6a95536e0 /arch/sparc/kernel/sysfs.c
parentSPARC: fix duplicate declaration (diff)
downloadlinux-8abf9196008a7f06841b10769d1aed3f28c1d314.tar.xz
linux-8abf9196008a7f06841b10769d1aed3f28c1d314.zip
sparc64: cheaper asm/uaccess.h inclusion
sched.h inclusion is definitely not needed like in 32-bit version, remove it, fixup compilation. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/sysfs.c')
-rw-r--r--arch/sparc/kernel/sysfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/kernel/sysfs.c b/arch/sparc/kernel/sysfs.c
index d28f496f4669..ca39c606fe8e 100644
--- a/arch/sparc/kernel/sysfs.c
+++ b/arch/sparc/kernel/sysfs.c
@@ -2,6 +2,7 @@
*
* Copyright (C) 2007 David S. Miller <davem@davemloft.net>
*/
+#include <linux/sched.h>
#include <linux/sysdev.h>
#include <linux/cpu.h>
#include <linux/smp.h>