Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/linux/common Add comment on packed attribution fo...



details:   https://anonhg.NetBSD.org/src/rev/acefc1e340e4
branches:  trunk
changeset: 378315:acefc1e340e4
user:      rin <rin%NetBSD.org@localhost>
date:      Sat Jul 29 12:58:51 2023 +0000

description:
Add comment on packed attribution for struct linux_epoll_event on amd64.
NFC.

diffstat:

 sys/compat/linux/common/linux_misc.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 186c4d0e9097 -r acefc1e340e4 sys/compat/linux/common/linux_misc.h
--- a/sys/compat/linux/common/linux_misc.h      Sat Jul 29 12:48:15 2023 +0000
+++ b/sys/compat/linux/common/linux_misc.h      Sat Jul 29 12:58:51 2023 +0000
@@ -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
 ;



Home | Main Index | Thread Index | Old Index