Module Name: src Committed By: christos Date: Sat Oct 12 15:44:46 UTC 2019
Modified Files: src/sys/arch/amd64/include: pcb.h Log Message: disable CTASSERT for lint To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/sys/arch/amd64/include/pcb.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/amd64/include/pcb.h diff -u src/sys/arch/amd64/include/pcb.h:1.30 src/sys/arch/amd64/include/pcb.h:1.31 --- src/sys/arch/amd64/include/pcb.h:1.30 Sat Oct 12 02:31:03 2019 +++ src/sys/arch/amd64/include/pcb.h Sat Oct 12 11:44:46 2019 @@ -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 @@ struct pcb { 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__ */