Author: cy
Date: Fri Mar 23 03:22:30 2018
New Revision: 331415
URL: https://svnweb.freebsd.org/changeset/base/331415

Log:
  Fix build on i386 without INVARIANTS following r331369.
  
  --- vm_reserv.o ---
  In file included from /opt/src/svn-current/sys/vm/vm_reserv.c:48:
  In file included from /opt/src/svn-current/sys/sys/counter.h:37:
  ./machine/counter.h:174:3: error: implicit declaration of function
  'critical_enter' is invalid in C99 [-Werror,-Wimplicit-function-declarat
  ion]
                  critical_enter();
  
  Reviewed by:  jeff@

Modified:
  head/sys/vm/vm_reserv.c

Modified: head/sys/vm/vm_reserv.c
==============================================================================
--- head/sys/vm/vm_reserv.c     Fri Mar 23 02:50:38 2018        (r331414)
+++ head/sys/vm/vm_reserv.c     Fri Mar 23 03:22:30 2018        (r331415)
@@ -45,8 +45,6 @@ __FBSDID("$FreeBSD$");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
-#include <sys/counter.h>
-#include <sys/ktr.h>
 #include <sys/lock.h>
 #include <sys/malloc.h>
 #include <sys/mutex.h>
@@ -55,6 +53,8 @@ __FBSDID("$FreeBSD$");
 #include <sys/sbuf.h>
 #include <sys/sysctl.h>
 #include <sys/systm.h>
+#include <sys/counter.h>
+#include <sys/ktr.h>
 #include <sys/vmmeter.h>
 #include <sys/smp.h>
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to