[Midnightbsd-cvs] src [8673] trunk/sys/i386/xen/xen_machdep.c: fix not invariants and not smp build.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Sep 25 16:40:22 EDT 2016


Revision: 8673
          http://svnweb.midnightbsd.org/src/?rev=8673
Author:   laffer1
Date:     2016-09-25 16:40:22 -0400 (Sun, 25 Sep 2016)
Log Message:
-----------
fix not invariants and not smp   build.

Modified Paths:
--------------
    trunk/sys/i386/xen/xen_machdep.c

Modified: trunk/sys/i386/xen/xen_machdep.c
===================================================================
--- trunk/sys/i386/xen/xen_machdep.c	2016-09-25 20:39:45 UTC (rev 8672)
+++ trunk/sys/i386/xen/xen_machdep.c	2016-09-25 20:40:22 UTC (rev 8673)
@@ -215,7 +215,9 @@
 #else
 	
 static mmu_update_t xpq_queue[XPQUEUE_SIZE];
+#ifdef INVARIANTS
 static struct mmu_log xpq_queue_log[XPQUEUE_SIZE];
+#endif
 static int xpq_idx = 0;
 
 #define	XPQ_QUEUE_LOG xpq_queue_log



More information about the Midnightbsd-cvs mailing list