Module Name: src Committed By: dholland Date: Mon Nov 23 05:01:12 UTC 2009
Modified Files: src/sys/arch/i386/i386: machdep.c Log Message: When converting an if/panic to a KASSERT it's necessary to reverse the sense of the test. Makes i386 boot again. HI RMIND To generate a diff of this commit: cvs rdiff -u -r1.675 -r1.676 src/sys/arch/i386/i386/machdep.c 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/i386/i386/machdep.c diff -u src/sys/arch/i386/i386/machdep.c:1.675 src/sys/arch/i386/i386/machdep.c:1.676 --- src/sys/arch/i386/i386/machdep.c:1.675 Sat Nov 21 15:38:43 2009 +++ src/sys/arch/i386/i386/machdep.c Mon Nov 23 05:01:12 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.675 2009/11/21 15:38:43 rmind Exp $ */ +/* $NetBSD: machdep.c,v 1.676 2009/11/23 05:01:12 dholland Exp $ */ /*- * Copyright (c) 1996, 1997, 1998, 2000, 2004, 2006, 2008, 2009 @@ -67,7 +67,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.675 2009/11/21 15:38:43 rmind Exp $"); +__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.676 2009/11/23 05:01:12 dholland Exp $"); #include "opt_beep.h" #include "opt_compat_ibcs2.h" @@ -1371,7 +1371,7 @@ * Saving SSE registers won't work if the save area isn't * 16-byte aligned. */ - KASSERT(offsetof(struct pcb, pcb_savefpu) & 0xf); + KASSERT((offsetof(struct pcb, pcb_savefpu) & 0xf) == 0); /* * Start with 2 color bins -- this is just a guess to get us