Skip to content
Commit 9badf557 authored by Aurelien Jarno's avatar Aurelien Jarno
Browse files

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: default avatarAurelien Jarno <aurelien@aurel32.net>
(cherry picked from commit b835e919)
parent 4a9048a9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment