Skip to content

Commit

Permalink
lkl: silence undefined declartions
Browse files Browse the repository at this point in the history
This commit add several definition to quiet compiler warnings during
tools build.

Signed-off-by: Hajime Tazaki <[email protected]>
  • Loading branch information
thehajime committed May 15, 2024
1 parent ecc3333 commit 5f50360
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/lkl/include/uapi/asm/syscalls.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5f50360

Please sign in to comment.