Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amd64/include disable CTASSERT for lint
details: https://anonhg.NetBSD.org/src/rev/04518bb9353a
branches: trunk
changeset: 845692:04518bb9353a
user: christos <christos%NetBSD.org@localhost>
date: Sat Oct 12 15:44:46 2019 +0000
description:
disable CTASSERT for lint
diffstat:
sys/arch/amd64/include/pcb.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 14c64e743cb9 -r 04518bb9353a sys/arch/amd64/include/pcb.h
--- a/sys/arch/amd64/include/pcb.h Sat Oct 12 15:13:54 2019 +0000
+++ b/sys/arch/amd64/include/pcb.h Sat Oct 12 15:44:46 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcb.h,v 1.30 2019/10/12 06:31:03 maxv Exp $ */
+/* $NetBSD: pcb.h,v 1.31 2019/10/12 15:44:46 christos Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -99,7 +99,9 @@
union savefpu pcb_savefpu __aligned(64); /* floating point state */
/* **** DO NOT ADD ANYTHING HERE **** */
};
+#ifndef __lint__
__CTASSERT(sizeof(struct pcb) - sizeof (union savefpu) == 128);
+#endif
#else /* __x86_64__ */
Home |
Main Index |
Thread Index |
Old Index