Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/netbsd32 remove __packed from struct netbsd32_lsd...



details:   https://anonhg.NetBSD.org/src/rev/c3e9c2ba02fc
branches:  trunk
changeset: 938373:c3e9c2ba02fc
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Sep 07 03:12:51 2020 +0000

description:
remove __packed from struct netbsd32_lsdisable.  the structure
is already properly aligned (the embedded int64 already has
align(4) marker applied where needed.)

same size structure generated.

diffstat:

 sys/compat/netbsd32/netbsd32_ioctl.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 277ac48c0ba0 -r c3e9c2ba02fc sys/compat/netbsd32/netbsd32_ioctl.h
--- a/sys/compat/netbsd32/netbsd32_ioctl.h      Mon Sep 07 03:09:53 2020 +0000
+++ b/sys/compat/netbsd32/netbsd32_ioctl.h      Mon Sep 07 03:12:51 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_ioctl.h,v 1.72 2020/07/21 05:33:51 simonb Exp $       */
+/*     $NetBSD: netbsd32_ioctl.h,v 1.73 2020/09/07 03:12:51 mrg Exp $  */
 
 /*
  * Copyright (c) 1998, 2001 Matthew R. Green
@@ -645,7 +645,7 @@
        netbsd32_size_t         ld_size;        /* buffer space allocated */
        struct netbsd32_timespec ld_time;       /* time spent enabled */
        uint64_t                ld_freq[64];    /* counter HZ by CPU number */
-} __packed;
+};
 
 #define        IOC_LOCKSTAT_ENABLE32   _IOW('L', 1, struct netbsd32_lsenable)
 #define        IOC_LOCKSTAT_DISABLE32  _IOR('L', 2, struct netbsd32_lsdisable)



Home | Main Index | Thread Index | Old Index