Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/include disable assert for lint.



details:   https://anonhg.NetBSD.org/src/rev/41826614ddfb
branches:  trunk
changeset: 328869:41826614ddfb
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Apr 21 19:13:22 2014 +0000

description:
disable assert for lint.

diffstat:

 sys/arch/i386/include/pcb.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 3ed1aa892aa1 -r 41826614ddfb sys/arch/i386/include/pcb.h
--- a/sys/arch/i386/include/pcb.h       Mon Apr 21 19:12:11 2014 +0000
+++ b/sys/arch/i386/include/pcb.h       Mon Apr 21 19:13:22 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcb.h,v 1.53 2014/02/20 18:19:10 dsl Exp $     */
+/*     $NetBSD: pcb.h,v 1.54 2014/04/21 19:13:22 christos Exp $        */
 
 /*-
  * Copyright (c) 1998, 2009 The NetBSD Foundation, Inc.
@@ -102,7 +102,9 @@
        /* **** DO NOT ADD ANYTHING HERE **** */
 
 };
+#ifndef __lint__
 /* This doesn't really matter, but there is a lot of implied padding */
 __CTASSERT(sizeof(struct pcb) - sizeof (union savefpu) == 128);
+#endif
 
 #endif /* _I386_PCB_H_ */



Home | Main Index | Thread Index | Old Index