disable CTASSERT for lint trunk
authorchristos <christos@NetBSD.org>
Sat, 12 Oct 2019 15:44:46 +0000
branchtrunk
changeset 455271 9ed269afacdb
parent 455270 a0c08292c65b
child 455272 28ceeeac1d62
disable CTASSERT for lint
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__	*/