]> git.ipfire.org Git - thirdparty/qemu.git/commit
target-mips: fix save_cpu_state() calls stable-0.13
authorAurelien Jarno <aurelien@aurel32.net>
Mon, 17 Jan 2011 18:29:34 +0000 (19:29 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Mon, 24 Jan 2011 19:52:19 +0000 (20:52 +0100)
commit9badf5579d99ade42fa311932154778adcadcc76
treeda107e6fb7addd3b31b69e6f04dd867bec9595fe
parent4a9048a9142863ef247d794a1a56d2debb8e910f
target-mips: fix save_cpu_state() calls

The rule is:
- don't save PC if the exception is only triggered by softmmu.
- save PC if the exception can be triggered by an helper.

Fix a 64-bit kernel crash when loading modules.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
(cherry picked from commit b835e919f022d768abdf00e8dc94f1a23fdcab15)
target-mips/translate.c