summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/cpufunc.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-07-21 05:22:16 +0000
committerpeter <peter@FreeBSD.org>2002-07-21 05:22:16 +0000
commit4a13c91393492858f32e981fcb9b883277d3d233 (patch)
treefaf3d981a2467cc4722eaeeb8691935195b398cc /sys/amd64/include/cpufunc.h
parentbf5c9e0422fd1e4316ad6a9db5a470b98edeb67e (diff)
downloadFreeBSD-src-4a13c91393492858f32e981fcb9b883277d3d233.zip
FreeBSD-src-4a13c91393492858f32e981fcb9b883277d3d233.tar.gz
Move SWTCH_OPTIM_STATS related code out of cpufunc.h. (This sort of stat
gathering is not an x86 cpu feature)
Diffstat (limited to 'sys/amd64/include/cpufunc.h')
-rw-r--r--sys/amd64/include/cpufunc.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/amd64/include/cpufunc.h b/sys/amd64/include/cpufunc.h
index 1dacf54..b074c64 100644
--- a/sys/amd64/include/cpufunc.h
+++ b/sys/amd64/include/cpufunc.h
@@ -58,10 +58,6 @@ __BEGIN_DECLS
#ifdef __GNUC__
-#ifdef SWTCH_OPTIM_STATS
-extern int tlb_flush_count; /* XXX */
-#endif
-
static __inline void
breakpoint(void)
{
@@ -391,9 +387,6 @@ load_cr3(u_int data)
{
__asm __volatile("movl %0,%%cr3" : : "r" (data) : "memory");
-#if defined(SWTCH_OPTIM_STATS)
- ++tlb_flush_count;
-#endif
}
static __inline u_int
OpenPOWER on IntegriCloud