]> git.baikalelectronics.ru Git - kernel.git/commit
sparc: fix implicit use of uaccess.h header in mdesc.c
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 20 Sep 2011 01:15:28 +0000 (21:15 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:30:52 +0000 (19:30 -0400)
commit47763582fb8bececa04c032ec87b2514cd1a2f37
tree808815f4ddd9541e8549b228e9e46d29fa80af6a
parent9ab73422ac22169e46870df41f8758882674f734
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>
arch/sparc/kernel/mdesc.c