summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/compat_wrapper.c
diff options
context:
space:
mode:
authorHeiko Carstens2014-03-20 15:30:14 +0100
committerHeiko Carstens2014-03-20 16:42:14 +0100
commitf5b972e9fbd2e99a2abc3221783d089799b69394 (patch)
tree7967dd66441bf171e9e297f6b3c5dd1f6e53185d /arch/s390/kernel/compat_wrapper.c
parents390/compat: get rid of compat wrapper assembly code (diff)
downloadkernel-qcow2-linux-f5b972e9fbd2e99a2abc3221783d089799b69394.tar.gz
kernel-qcow2-linux-f5b972e9fbd2e99a2abc3221783d089799b69394.tar.xz
kernel-qcow2-linux-f5b972e9fbd2e99a2abc3221783d089799b69394.zip
compat: include linux/unistd.h within linux/compat.h
linux/compat.h does not include linux/unistd.h but the compat.h header file contains various conditional #ifdef __ARCH_WANT_COMPAT_... asmlinkage long compat...() #endif compat system call function declarations. If linux/unistd.h isn't included it depends on previous includes if those __ARCH_WANT_COMPAT_... defines are defined or not. So add an additional linux/unistd.h include. Should fix this compile error on tile: include/uapi/asm-generic/unistd.h:195:1: error: 'compat_sys_getdents64' undeclared make[3]: *** [arch/tile/kernel/compat.o] Error 1 Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Chris Metcalf <cmetcalf@tilera.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/compat_wrapper.c')
0 files changed, 0 insertions, 0 deletions