diff options
author | Paul Gortmaker | 2011-09-19 21:15:28 -0400 |
---|---|---|
committer | Paul Gortmaker | 2011-10-31 19:30:52 -0400 |
commit | cd66bc4539670cadc8442b507f9d5f1a98ce8b7d (patch) | |
tree | 808815f4ddd9541e8549b228e9e46d29fa80af6a /arch/sparc | |
parent | c2068dabebf83a7ef65ba977a165730fb8b53ef0 (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>
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/kernel/mdesc.c | 1 |
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 @@ #include <asm/hypervisor.h> #include <asm/mdesc.h> #include <asm/prom.h> +#include <asm/uaccess.h> #include <asm/oplib.h> #include <asm/smp.h> |