Skip to content

Commit 8e9f51a

Browse files
committed
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: bf4b6a7 ("y2038: Remove stat64 family from default syscall set") Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent c8ce48f commit 8e9f51a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/unicore32/include/uapi/asm/unistd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313

1414
#define __ARCH_WANT_RENAMEAT
1515
#define __ARCH_WANT_SET_GET_RLIMIT
16+
#define __ARCH_WANT_STAT64
1617
#define __ARCH_WANT_TIME32_SYSCALLS
1718

1819
/* Use the standard ABI for syscalls. */
1920
#include <asm-generic/unistd.h>
20-
#define __ARCH_WANT_STAT64
2121
#define __ARCH_WANT_SYS_CLONE

0 commit comments

Comments
 (0)