svn commit: r249192 - in projects/counters/sys: arm/include i386/include ia64/include mips/include powerpc/include sparc64/include
Gleb Smirnoff
glebius at FreeBSD.org
Sat Apr 6 09:57:30 UTC 2013
Author: glebius
Date: Sat Apr 6 09:57:27 2013
New Revision: 249192
URL: http://svnweb.freebsd.org/changeset/base/249192
Log:
Add dirty namespace pollution to make CRITICAL_ASSERT() work.
Modified:
projects/counters/sys/arm/include/counter.h
projects/counters/sys/i386/include/counter.h
projects/counters/sys/ia64/include/counter.h
projects/counters/sys/mips/include/counter.h
projects/counters/sys/powerpc/include/counter.h
projects/counters/sys/sparc64/include/counter.h
Modified: projects/counters/sys/arm/include/counter.h
==============================================================================
--- projects/counters/sys/arm/include/counter.h Sat Apr 6 08:49:44 2013 (r249191)
+++ projects/counters/sys/arm/include/counter.h Sat Apr 6 09:57:27 2013 (r249192)
@@ -30,6 +30,9 @@
#define __MACHINE_COUNTER_H__
#include <sys/pcpu.h>
+#ifdef INVARIANTS
+#include <sys/proc.h>
+#endif
#define counter_enter() critical_enter()
#define counter_exit() critical_exit()
Modified: projects/counters/sys/i386/include/counter.h
==============================================================================
--- projects/counters/sys/i386/include/counter.h Sat Apr 6 08:49:44 2013 (r249191)
+++ projects/counters/sys/i386/include/counter.h Sat Apr 6 09:57:27 2013 (r249192)
@@ -30,6 +30,9 @@
#define __MACHINE_COUNTER_H__
#include <sys/pcpu.h>
+#ifdef INVARIANTS
+#include <sys/proc.h>
+#endif
#include <machine/md_var.h>
#include <machine/specialreg.h>
Modified: projects/counters/sys/ia64/include/counter.h
==============================================================================
--- projects/counters/sys/ia64/include/counter.h Sat Apr 6 08:49:44 2013 (r249191)
+++ projects/counters/sys/ia64/include/counter.h Sat Apr 6 09:57:27 2013 (r249192)
@@ -30,6 +30,9 @@
#define __MACHINE_COUNTER_H__
#include <sys/pcpu.h>
+#ifdef INVARIANTS
+#include <sys/proc.h>
+#endif
#define counter_enter() critical_enter()
#define counter_exit() critical_exit()
Modified: projects/counters/sys/mips/include/counter.h
==============================================================================
--- projects/counters/sys/mips/include/counter.h Sat Apr 6 08:49:44 2013 (r249191)
+++ projects/counters/sys/mips/include/counter.h Sat Apr 6 09:57:27 2013 (r249192)
@@ -30,6 +30,9 @@
#define __MACHINE_COUNTER_H__
#include <sys/pcpu.h>
+#ifdef INVARIANTS
+#include <sys/proc.h>
+#endif
#define counter_enter() critical_enter()
#define counter_exit() critical_exit()
Modified: projects/counters/sys/powerpc/include/counter.h
==============================================================================
--- projects/counters/sys/powerpc/include/counter.h Sat Apr 6 08:49:44 2013 (r249191)
+++ projects/counters/sys/powerpc/include/counter.h Sat Apr 6 09:57:27 2013 (r249192)
@@ -30,6 +30,9 @@
#define __MACHINE_COUNTER_H__
#include <sys/pcpu.h>
+#ifdef INVARIANTS
+#include <sys/proc.h>
+#endif
#if defined(AIM) && defined(__powerpc64__)
Modified: projects/counters/sys/sparc64/include/counter.h
==============================================================================
--- projects/counters/sys/sparc64/include/counter.h Sat Apr 6 08:49:44 2013 (r249191)
+++ projects/counters/sys/sparc64/include/counter.h Sat Apr 6 09:57:27 2013 (r249192)
@@ -30,6 +30,9 @@
#define __MACHINE_COUNTER_H__
#include <sys/pcpu.h>
+#ifdef INVARIANTS
+#include <sys/proc.h>
+#endif
#define counter_enter() critical_enter()
#define counter_exit() critical_exit()
More information about the svn-src-projects
mailing list