summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-12-08 05:03:34 +0000
committerjhb <jhb@FreeBSD.org>2000-12-08 05:03:34 +0000
commit7ee09e9ca2ad2d256446cb85431b21a7214007d6 (patch)
tree4b64dec35f40367d840b34e97e6e2ee4df85d0b2 /sys/amd64
parentb9f1a189bc92d2655153b1777fab1e728be86097 (diff)
downloadFreeBSD-src-7ee09e9ca2ad2d256446cb85431b21a7214007d6.zip
FreeBSD-src-7ee09e9ca2ad2d256446cb85431b21a7214007d6.tar.gz
Well, the previous commit wasn't entirely correct either. For now, just
disable the optimized mutex micro-operations for the non-I386_CPU case and fall back to the C stubs that call the atomic_foo() inlines.
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/include/mutex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/amd64/include/mutex.h b/sys/amd64/include/mutex.h
index ff08935..1c0ea08 100644
--- a/sys/amd64/include/mutex.h
+++ b/sys/amd64/include/mutex.h
@@ -69,7 +69,8 @@ extern char STR_SIEN[];
#define _V(x) __STRING(x)
-#ifndef I386_CPU
+#if 0
+/* #ifndef I386_CPU */
/*
* For 486 and newer processors.
OpenPOWER on IntegriCloud