Commit 8e9f51a8 authored by Arnd Bergmann's avatar Arnd Bergmann

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: bf4b6a7d ("y2038: Remove stat64 family from default syscall set")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent c8ce48f0
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
#define __ARCH_WANT_RENAMEAT #define __ARCH_WANT_RENAMEAT
#define __ARCH_WANT_SET_GET_RLIMIT #define __ARCH_WANT_SET_GET_RLIMIT
#define __ARCH_WANT_STAT64
#define __ARCH_WANT_TIME32_SYSCALLS #define __ARCH_WANT_TIME32_SYSCALLS
/* Use the standard ABI for syscalls. */ /* Use the standard ABI for syscalls. */
#include <asm-generic/unistd.h> #include <asm-generic/unistd.h>
#define __ARCH_WANT_STAT64
#define __ARCH_WANT_SYS_CLONE #define __ARCH_WANT_SYS_CLONE
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment