diff options
author | Catalin Marinas | 2015-01-06 17:52:38 +0100 |
---|---|---|
committer | Catalin Marinas | 2015-01-27 10:38:00 +0100 |
commit | 54e45c169dbce43cf46d00eb1521b655b6e4f9e9 (patch) | |
tree | 12dddd58fc6ec2b791ab4549d3b7f1e6eb0c33d3 /arch/arm64/include | |
parent | compat: Declare compat_sys_sigpending and compat_sys_sigprocmask prototypes (diff) | |
download | kernel-qcow2-linux-54e45c169dbce43cf46d00eb1521b655b6e4f9e9.tar.gz kernel-qcow2-linux-54e45c169dbce43cf46d00eb1521b655b6e4f9e9.tar.xz kernel-qcow2-linux-54e45c169dbce43cf46d00eb1521b655b6e4f9e9.zip |
syscalls: Declare sys_*stat64 prototypes if __ARCH_WANT_(COMPAT_)STAT64
Currently, the sys_stat64, sys_fstat64 and sys_lstat64 prototpyes are
only declared if BITS_PER_LONG == 32. Following commit 0753f70f07fb
(fs: Build sys_stat64() and friends if __ARCH_WANT_COMPAT_STAT64), the
implementation of these functions is allowed on 64-bit systems for
compat support. The patch changes the condition on the prototype
declaration from BITS_PER_LONG == 32 to defined(__ARCH_WANT_STAT64) ||
defined(__ARCH_WANT_COMPAT_STAT64).
In addition, it moves the sys_fstatat64 prototype under the same #if
block
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm64/include')
0 files changed, 0 insertions, 0 deletions