]> git.baikalelectronics.ru Git - kernel.git/commit
asm-generic: unistd.h: fixup broken macro include.
authorGuo Ren <ren_guo@c-sky.com>
Thu, 6 Dec 2018 02:07:40 +0000 (10:07 +0800)
committerArnd Bergmann <arnd@arndb.de>
Thu, 6 Dec 2018 15:57:47 +0000 (16:57 +0100)
commitb3666b251a8fcbe2c9250eeeafc8b232b1b252ed
tree8a95d7c335c56ba87c0b4028663e0f69b2949256
parentc1cd78c0e0fca39e5e5c6c6ccb3b1437a1beeacd
asm-generic: unistd.h: fixup broken macro include.

The broken macros make the glibc compile error. If there is no
__NR3264_fstat*, we should also removed related definitions.

Reported-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Fixes: 00dbf87a11a4 ("y2038: Remove stat64 family from default syscall set")
[arnd: Both Marcin and Guo provided this patch to fix up my clearly
       broken commit, I applied the version with the better changelog.]
Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Signed-off-by: Mao Han <han_mao@c-sky.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
include/uapi/asm-generic/unistd.h