diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2019-05-08 23:55:13 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-20 10:18:37 +0300 |
commit | e00839f38823e7e4a38d2e2703c624a16f08dac8 (patch) | |
tree | ab1fb59bce8f9ee07026d14787654652cfe84c6a /net/lapb/lapb_timer.c | |
parent | f2dcb8841e6b155da098edae09125859ef7e853d (diff) | |
download | linux-e00839f38823e7e4a38d2e2703c624a16f08dac8.tar.xz |
staging: kpc2000: fix build error on xtensa
kpc2000/kpc_dma/fileops.c includes asm/uaccess.h instead of
linux/uaccess.h, which results in the following build error on xtensa
architecture:
In file included from
drivers/staging/kpc2000/kpc_dma/fileops.c:11:
arch/xtensa/include/asm/uaccess.h:
In function ‘clear_user’:
arch/xtensa/include/asm/uaccess.h:40:22:
error: implicit declaration of function ‘uaccess_kernel’; ...
#define __kernel_ok (uaccess_kernel())
^~~~~~~~~~~~~~
Include linux/uaccess.h to fix that.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions