diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-09-20 01:15:28 (GMT) |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 23:30:52 (GMT) |
commit | cd66bc4539670cadc8442b507f9d5f1a98ce8b7d (patch) | |
tree | 808815f4ddd9541e8549b228e9e46d29fa80af6a /arch/sparc/kernel/mdesc.c | |
parent | c2068dabebf83a7ef65ba977a165730fb8b53ef0 (diff) | |
download | linux-fsl-qoriq-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/mdesc.c')
-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 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> |