projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e02083
)
Revert "cpu-exec: don't overwrite exception_index"
author
Peter Maydell
<peter.maydell@linaro.org>
Mon, 20 Nov 2017 10:58:27 +0000
(10:58 +0000)
committer
Peter Maydell
<peter.maydell@linaro.org>
Mon, 20 Nov 2017 10:58:27 +0000
(10:58 +0000)
This reverts commit
e01cecabf3e04d22340d7e8b3616ef051c42c891
,
which breaks booting of aarch64 Linux images.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
accel/tcg/cpu-exec.c
patch
|
blob
|
history
diff --git
a/accel/tcg/cpu-exec.c
b/accel/tcg/cpu-exec.c
index f3de96f3466517c3e77b27934d0cf9c69c51a1a2..9b544d88c86c423b36206a6fc723024be1ecffec 100644
(file)
--- a/
accel/tcg/cpu-exec.c
+++ b/
accel/tcg/cpu-exec.c
@@
-610,9
+610,7
@@
static inline bool cpu_handle_interrupt(CPUState *cpu,
if (unlikely(atomic_read(&cpu->exit_request)
|| (use_icount && cpu->icount_decr.u16.low + cpu->icount_extra == 0))) {
atomic_set(&cpu->exit_request, 0);
- if (cpu->exception_index == -1) {
- cpu->exception_index = EXCP_INTERRUPT;
- }
+ cpu->exception_index = EXCP_INTERRUPT;
return true;
}