2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 20:23:57 +08:00

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>
This commit is contained in:
Paul Gortmaker 2011-09-19 21:15:28 -04:00
parent c2068dabeb
commit cd66bc4539

View File

@ -16,6 +16,7 @@
#include <asm/hypervisor.h> #include <asm/hypervisor.h>
#include <asm/mdesc.h> #include <asm/mdesc.h>
#include <asm/prom.h> #include <asm/prom.h>
#include <asm/uaccess.h>
#include <asm/oplib.h> #include <asm/oplib.h>
#include <asm/smp.h> #include <asm/smp.h>