summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2015-09-26 15:59:26 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2015-09-26 15:59:26 +0000
commit3f473f1a3d26a4653b969608843dfd19e90489ba (patch)
tree91d69c1442057bf940bbdb5b43523522d6808bab
parent3c9d07a512308a812eee27e1b2dedef8680b3820 (diff)
lint is dead: BITFIELDTYPE comments aren't useful
ok miller@
-rw-r--r--sys/arch/amd64/include/segments.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/sys/arch/amd64/include/segments.h b/sys/arch/amd64/include/segments.h
index eebf740fd63..8d42d514430 100644
--- a/sys/arch/amd64/include/segments.h
+++ b/sys/arch/amd64/include/segments.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: segments.h,v 1.12 2015/06/28 02:42:13 guenther Exp $ */
+/* $OpenBSD: segments.h,v 1.13 2015/09/26 15:59:25 guenther Exp $ */
/* $NetBSD: segments.h,v 1.1 2003/04/26 18:39:47 fvdl Exp $ */
/*-
@@ -93,18 +93,18 @@
* Below is used for TSS and LDT.
*/
struct sys_segment_descriptor {
-/*BITFIELDTYPE*/ u_int64_t sd_lolimit:16;/* segment extent (lsb) */
-/*BITFIELDTYPE*/ u_int64_t sd_lobase:24;/* segment base address (lsb) */
-/*BITFIELDTYPE*/ u_int64_t sd_type:5; /* segment type */
-/*BITFIELDTYPE*/ u_int64_t sd_dpl:2; /* segment descriptor priority level */
-/*BITFIELDTYPE*/ u_int64_t sd_p:1; /* segment descriptor present */
-/*BITFIELDTYPE*/ u_int64_t sd_hilimit:4;/* segment extent (msb) */
-/*BITFIELDTYPE*/ u_int64_t sd_xx1:3; /* avl, long and def32 (not used) */
-/*BITFIELDTYPE*/ u_int64_t sd_gran:1; /* limit granularity (byte/page) */
-/*BITFIELDTYPE*/ u_int64_t sd_hibase:40;/* segment base address (msb) */
-/*BITFIELDTYPE*/ u_int64_t sd_xx2:8; /* reserved */
-/*BITFIELDTYPE*/ u_int64_t sd_zero:5; /* must be zero */
-/*BITFIELDTYPE*/ u_int64_t sd_xx3:19; /* reserved */
+ u_int64_t sd_lolimit:16; /* segment extent (lsb) */
+ u_int64_t sd_lobase:24; /* segment base address (lsb) */
+ u_int64_t sd_type:5; /* segment type */
+ u_int64_t sd_dpl:2; /* segment descriptor priority level */
+ u_int64_t sd_p:1; /* segment descriptor present */
+ u_int64_t sd_hilimit:4; /* segment extent (msb) */
+ u_int64_t sd_xx1:3; /* avl, long and def32 (not used) */
+ u_int64_t sd_gran:1; /* limit granularity (byte/page) */
+ u_int64_t sd_hibase:40; /* segment base address (msb) */
+ u_int64_t sd_xx2:8; /* reserved */
+ u_int64_t sd_zero:5; /* must be zero */
+ u_int64_t sd_xx3:19; /* reserved */
} __packed;
/*