OSDN Git Service

unicore32: Fix __ARCH_WANT_STAT64 definition
authorArnd Bergmann <arnd@arndb.de>
Mon, 18 Feb 2019 16:35:58 +0000 (17:35 +0100)
committerArnd Bergmann <arnd@arndb.de>
Tue, 19 Feb 2019 20:27:53 +0000 (21:27 +0100)
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>
arch/unicore32/include/uapi/asm/unistd.h

index 4e5e624..54a7378 100644 (file)
@@ -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