diff options
author | gonzo <gonzo@FreeBSD.org> | 2010-04-08 18:32:13 +0000 |
---|---|---|
committer | gonzo <gonzo@FreeBSD.org> | 2010-04-08 18:32:13 +0000 |
commit | e6a0269fc15444d8879c9d0c4d2f5aead8c259ba (patch) | |
tree | f6a1f4f8ed9480071f9d7c169ebffa5a5f269e57 | |
parent | 3321f56bbe510bd5654cf70baf4b4dfc8c75536e (diff) | |
download | FreeBSD-src-e6a0269fc15444d8879c9d0c4d2f5aead8c259ba.zip FreeBSD-src-e6a0269fc15444d8879c9d0c4d2f5aead8c259ba.tar.gz |
- Fix mutex type for miibus_mtx: it's not spinlock, it's def lock
-rw-r--r-- | sys/mips/atheros/if_arge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/mips/atheros/if_arge.c b/sys/mips/atheros/if_arge.c index da8d181..4367bfb 100644 --- a/sys/mips/atheros/if_arge.c +++ b/sys/mips/atheros/if_arge.c @@ -171,7 +171,7 @@ extern uint32_t ar711_base_mac[ETHER_ADDR_LEN]; 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); /* |