aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorAnton Blanchard <[email protected]>2017-09-19 20:45:52 +1000
committerMichael Ellerman <[email protected]>2017-09-20 13:30:09 +1000
commitad47ff3e33503e0969db2d4f9a40942aa6414598 (patch)
tree72e71f6421b60dac07e2ed2a39f2fb36d628cd14 /lib/memory-notifier-error-inject.c
parentc1fa0768a8713b135848f78fd43ffc208d8ded70 (diff)
powerpc/sstep: Fix issues with set_cr0()
set_cr0() broke when we changed analyse_instr() to not modify the register state. Instead of looking at regs->gpr[x] which has not been updated yet, we need to look at op->val. Fixes: 3cdfcbfd32b9 ("powerpc: Change analyse_instr so it doesn't modify *regs") Signed-off-by: Anton Blanchard <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions