]> git.proxmox.com Git - qemu.git/commit
target-mips: fix save_cpu_state() calls
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:04 +0000 (20:52 +0100)
commitb835e919f022d768abdf00e8dc94f1a23fdcab15
tree71d971ea968100e510264d53667198c94e909c95
parent0bfe006c5380c5f8a485a55ded3329fbbc224396
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>
target-mips/translate.c