Skip to content

Commit ccb6da2

Browse files
committed
lkl: silence undefined declartions
This commit add several definition to quiet compiler warnings during tools build. Signed-off-by: Hajime Tazaki <thehajime@gmail.com>
1 parent cb9692d commit ccb6da2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

arch/lkl/include/uapi/asm/syscalls.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ typedef __s64 s64;
7575
#undef __NR_bdflush
7676
#undef __NR_send
7777
#undef __NR_recv
78+
#undef __NR_sysfs
79+
#undef __NR_signalfd
7880

7981
#undef __NR_umount
8082
#define __NR_umount __NR_umount2
@@ -124,6 +126,10 @@ struct sockaddr {
124126
char sa_data[14];
125127
};
126128

129+
struct __aio_sigset;
130+
struct cachestat;
131+
struct cachestat_range;
132+
127133
#define __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO 1
128134
#define __UAPI_DEF_IF_IFNAMSIZ 1
129135
#define __UAPI_DEF_IF_NET_DEVICE_FLAGS 1

0 commit comments

Comments
 (0)