]> 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)
commit5ab37a985d8f89e2a2130ab65a2b2f6d895b475d
tree8a95d7c335c56ba87c0b4028663e0f69b2949256
parent3da2c7e7dd758fc8d8e2d8f7585bdd4a6ddd3393
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: c12ce24cf21d ("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