svn commit: r206400 - head/sys/mips/atheros
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Thu Apr 8 18:32:13 UTC 2010
Author: gonzo
Date: Thu Apr 8 18:32:13 2010
New Revision: 206400
URL: http://svn.freebsd.org/changeset/base/206400
Log:
- Fix mutex type for miibus_mtx: it's not spinlock, it's def lock
Modified:
head/sys/mips/atheros/if_arge.c
Modified: head/sys/mips/atheros/if_arge.c
==============================================================================
--- head/sys/mips/atheros/if_arge.c Thu Apr 8 15:19:57 2010 (r206399)
+++ head/sys/mips/atheros/if_arge.c Thu Apr 8 18:32:13 2010 (r206400)
@@ -171,7 +171,7 @@ extern uint32_t ar711_base_mac[ETHER_ADD
static struct mtx miibus_mtx;
-MTX_SYSINIT(miibus_mtx, &miibus_mtx, "arge mii lock", MTX_SPIN);
+MTX_SYSINIT(miibus_mtx, &miibus_mtx, "arge mii lock", MTX_DEF);
/*
More information about the svn-src-head
mailing list