summaryrefslogtreecommitdiffstats
path: root/sys/dev/nand/nandsim_chip.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/nand/nandsim_chip.c')
-rw-r--r--sys/dev/nand/nandsim_chip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/nand/nandsim_chip.c b/sys/dev/nand/nandsim_chip.c
index f04ad80..3241e1a 100644
--- a/sys/dev/nand/nandsim_chip.c
+++ b/sys/dev/nand/nandsim_chip.c
@@ -94,7 +94,7 @@ nandsim_chip_init(struct nandsim_softc* sc, uint8_t chip_num,
return (NULL);
mtx_init(&chip->ns_lock, "nandsim lock", NULL, MTX_DEF);
- callout_init(&chip->ns_callout, CALLOUT_MPSAFE);
+ callout_init(&chip->ns_callout, 1);
STAILQ_INIT(&chip->nandsim_events);
chip->chip_num = chip_num;
OpenPOWER on IntegriCloud