summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/sparc64/rtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/sparc64/rtc.c b/sys/sparc64/sparc64/rtc.c
index 234d1b7..be8e009 100644
--- a/sys/sparc64/sparc64/rtc.c
+++ b/sys/sparc64/sparc64/rtc.c
@@ -149,7 +149,7 @@ rtc_attach(device_t dev)
sc = device_get_softc(dev);
bzero(sc, sizeof(struct mc146818_softc));
- mtx_init(&sc->sc_mtx, "rtc_mtx", NULL, MTX_DEF);
+ mtx_init(&sc->sc_mtx, "rtc_mtx", NULL, MTX_SPIN);
if (strcmp(device_get_name(device_get_parent(dev)), "isa") == 0)
rtype = SYS_RES_IOPORT;
OpenPOWER on IntegriCloud