From 5f50360c4c96a5f0b442fa5671a78e0d9046c755 Mon Sep 17 00:00:00 2001 From: Hajime Tazaki Date: Wed, 15 May 2024 19:06:19 +0900 Subject: [PATCH] lkl: silence undefined declartions This commit add several definition to quiet compiler warnings during tools build. Signed-off-by: Hajime Tazaki --- arch/lkl/include/uapi/asm/syscalls.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/lkl/include/uapi/asm/syscalls.h b/arch/lkl/include/uapi/asm/syscalls.h index bb82a04a9b3aa4..9f61f0b7fad9fa 100644 --- a/arch/lkl/include/uapi/asm/syscalls.h +++ b/arch/lkl/include/uapi/asm/syscalls.h @@ -75,6 +75,8 @@ typedef __s64 s64; #undef __NR_bdflush #undef __NR_send #undef __NR_recv +#undef __NR_sysfs +#undef __NR_signalfd #undef __NR_umount #define __NR_umount __NR_umount2 @@ -124,6 +126,10 @@ struct sockaddr { char sa_data[14]; }; +struct __aio_sigset; +struct cachestat; +struct cachestat_range; + #define __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO 1 #define __UAPI_DEF_IF_IFNAMSIZ 1 #define __UAPI_DEF_IF_NET_DEVICE_FLAGS 1