Module Name: src Committed By: rin Date: Sat Jul 29 12:58:51 UTC 2023
Modified Files: src/sys/compat/linux/common: linux_misc.h Log Message: Add comment on packed attribution for struct linux_epoll_event on amd64. NFC. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/sys/compat/linux/common/linux_misc.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/compat/linux/common/linux_misc.h diff -u src/sys/compat/linux/common/linux_misc.h:1.27 src/sys/compat/linux/common/linux_misc.h:1.28 --- src/sys/compat/linux/common/linux_misc.h:1.27 Fri Jul 28 18:19:01 2023 +++ src/sys/compat/linux/common/linux_misc.h Sat Jul 29 12:58:51 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: linux_misc.h,v 1.27 2023/07/28 18:19:01 christos Exp $ */ +/* $NetBSD: linux_misc.h,v 1.28 2023/07/29 12:58:51 rin Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -146,6 +146,7 @@ struct linux_epoll_event { uint64_t data; } #if defined(__amd64__) +/* Only for x86_64. See include/uapi/linux/eventpoll.h. */ __packed #endif ;