summaryrefslogtreecommitdiff
path: root/arch/unicore32
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-02-18 17:35:58 +0100
committerArnd Bergmann <arnd@arndb.de>2019-02-19 21:27:53 +0100
commit8e9f51a8851b6942f587d9842d748c4aacbf7d4f (patch)
treea7b2b2e960f48d4746e6d25c71d507f3fddebf2c /arch/unicore32
parentc8ce48f06503eee20f189eed5b2aa736272b7344 (diff)
downloadlwn-8e9f51a8851b6942f587d9842d748c4aacbf7d4f.tar.gz
lwn-8e9f51a8851b6942f587d9842d748c4aacbf7d4f.zip
unicore32: Fix __ARCH_WANT_STAT64 definition
The __ARCH_WANT_STAT64 macro must be defined before including asm-generic/unistd.h. I got this right for everything except unicore32. Fixes: bf4b6a7d371e ("y2038: Remove stat64 family from default syscall set") Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/unicore32')
-rw-r--r--arch/unicore32/include/uapi/asm/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/unicore32/include/uapi/asm/unistd.h b/arch/unicore32/include/uapi/asm/unistd.h
index 4e5e624f5d7e..54a7378a70b1 100644
--- a/arch/unicore32/include/uapi/asm/unistd.h
+++ b/arch/unicore32/include/uapi/asm/unistd.h
@@ -13,9 +13,9 @@
#define __ARCH_WANT_RENAMEAT
#define __ARCH_WANT_SET_GET_RLIMIT
+#define __ARCH_WANT_STAT64
#define __ARCH_WANT_TIME32_SYSCALLS
/* Use the standard ABI for syscalls. */
#include <asm-generic/unistd.h>
-#define __ARCH_WANT_STAT64
#define __ARCH_WANT_SYS_CLONE