aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/imx7_src.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/imx7_src.c')
-rw-r--r--hw/misc/imx7_src.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/imx7_src.c b/hw/misc/imx7_src.c
index 24a0b4618c..b3725ff6e7 100644
--- a/hw/misc/imx7_src.c
+++ b/hw/misc/imx7_src.c
@@ -136,7 +136,7 @@ static void imx7_clear_reset_bit(CPUState *cpu, run_on_cpu_data data)
struct SRCSCRResetInfo *ri = data.host_ptr;
IMX7SRCState *s = ri->s;
- assert(qemu_mutex_iothread_locked());
+ assert(bql_locked());
s->regs[SRC_A7RCR0] = deposit32(s->regs[SRC_A7RCR0], ri->reset_bit, 1, 0);