aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-09-19 21:15:28 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 19:30:52 -0400
commitcd66bc4539670cadc8442b507f9d5f1a98ce8b7d (patch)
tree808815f4ddd9541e8549b228e9e46d29fa80af6a
parentc2068dabebf83a7ef65ba977a165730fb8b53ef0 (diff)
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>
-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 acaebb63c4fd..ea6d4d6c02f6 100644
--- a/arch/sparc/kernel/mdesc.c
+++ b/arch/sparc/kernel/mdesc.c
@@ -16,6 +16,7 @@
16#include <asm/hypervisor.h> 16#include <asm/hypervisor.h>
17#include <asm/mdesc.h> 17#include <asm/mdesc.h>
18#include <asm/prom.h> 18#include <asm/prom.h>
19#include <asm/uaccess.h>
19#include <asm/oplib.h> 20#include <asm/oplib.h>
20#include <asm/smp.h> 21#include <asm/smp.h>
21 22