summaryrefslogtreecommitdiff
path: root/arch/sparc/kernel
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-09-20 01:15:28 (GMT)
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 23:30:52 (GMT)
commitcd66bc4539670cadc8442b507f9d5f1a98ce8b7d (patch)
tree808815f4ddd9541e8549b228e9e46d29fa80af6a /arch/sparc/kernel
parentc2068dabebf83a7ef65ba977a165730fb8b53ef0 (diff)
downloadlinux-cd66bc4539670cadc8442b507f9d5f1a98ce8b7d.tar.xz
sparc: fix implicit use of uaccess.h header in mdesc.c
Building sparc64 with the module.h cleanup reveals this implicit include being taken advantage of: arch/sparc/kernel/mdesc.c: In function 'mdesc_read': arch/sparc/kernel/mdesc.c:900: error: implicit declaration of function 'copy_to_user' Fix it up before the implicit module.h presence is removed. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'arch/sparc/kernel')
-rw-r--r--arch/sparc/kernel/mdesc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/kernel/mdesc.c b/arch/sparc/kernel/mdesc.c
index acaebb6..ea6d4d6 100644
--- a/arch/sparc/kernel/mdesc.c
+++ b/arch/sparc/kernel/mdesc.c
@@ -16,6 +16,7 @@
#include <asm/hypervisor.h>
#include <asm/mdesc.h>
#include <asm/prom.h>
+#include <asm/uaccess.h>
#include <asm/oplib.h>
#include <asm/smp.h>