Date: Fri, 23 Mar 2018 03:22:30 +0000 (UTC) From: Cy Schubert <cy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r331415 - head/sys/vm Message-ID: <201803230322.w2N3MUbV006652@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803230322.w2N3MUbV006652>