Searched hist:"950 add280c0b2221f2f28d0595c9c82f40cfe3ed" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/testing/selftests/nolibc/ |
H A D | nolibc-test.c | diff 950add280c0b2221f2f28d0595c9c82f40cfe3ed Fri Jul 07 13:30:58 CDT 2023 Zhangjin Wu <falcon@tinylab.org> selftests/nolibc: prefer <sys/reboot.h> to <linux/reboot.h>
Since both glibc and musl provide RB_ flags via <sys/reboot.h>, and we just add RB_ flags for nolibc, let's use RB_ flags instead of LINUX_REBOOT_ flags and only reserve the required <sys/reboot.h> header.
This allows compile libc-test for musl libc without the linux headers.
Signed-off-by: Zhangjin Wu <falcon@tinylab.org> Signed-off-by: Willy Tarreau <w@1wt.eu>
|