summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-05-31 06:42:37 +0000
committerpeter <peter@FreeBSD.org>2003-05-31 06:42:37 +0000
commit6c537c22b4b48db0b2ee71f7773773e7e541b17e (patch)
tree45a6274aeb12213384f60066dc5dc525ba19e521 /sys
parent99d6402b40e6d534ef3962adcca557fe577f1021 (diff)
downloadFreeBSD-src-6c537c22b4b48db0b2ee71f7773773e7e541b17e.zip
FreeBSD-src-6c537c22b4b48db0b2ee71f7773773e7e541b17e.tar.gz
Add __amd64__ to the ifdefs that introduce the "pcicfg" spinlock to
witness. Approved by: re (safe amd64 support)
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/subr_witness.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c
index b2171fd..295b733 100644
--- a/sys/kern/subr_witness.c
+++ b/sys/kern/subr_witness.c
@@ -313,7 +313,7 @@ static struct witness_order_list_entry order_lists[] = {
#ifdef __ia64__
{ "MCA spin lock", &lock_class_mtx_spin },
#endif
-#ifdef __i386__
+#if defined(__i386__) || defined(__amd64__)
{ "pcicfg", &lock_class_mtx_spin },
#endif
{ NULL, NULL },
OpenPOWER on IntegriCloud