diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2017-03-01 20:29:10 +0000 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2017-03-09 10:41:43 +0000 |
commit | 47e20887970c3f267a4be9afacb72dbd51e6655f (patch) | |
tree | aed8f44b1055336921f5d81e594e74e3b4364baf /target/xtensa/helper.c | |
parent | 278f5e98c647f74e93636e8b6f9ba20a71765a44 (diff) |
target/xtensa: hold BQL for interrupt processing
Make sure we have the BQL held when processing interrupts.
Reported-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'target/xtensa/helper.c')
-rw-r--r-- | target/xtensa/helper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/xtensa/helper.c b/target/xtensa/helper.c index c67d715c4b..bcd0b7738d 100644 --- a/target/xtensa/helper.c +++ b/target/xtensa/helper.c @@ -217,6 +217,7 @@ static void handle_interrupt(CPUXtensaState *env) } } +/* Called from cpu_handle_interrupt with BQL held */ void xtensa_cpu_do_interrupt(CPUState *cs) { XtensaCPU *cpu = XTENSA_CPU(cs); |