diff options
author | Alexander Graf <agraf@suse.de> | 2010-01-08 02:58:05 +0100 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2010-03-01 12:35:49 -0300 |
commit | bc90923e27908ef65aa8aaad2f234e18b5273c78 (patch) | |
tree | 58f95e4a6c50cefd7e07e7f28bcf36c88f28bd49 /arch/powerpc/include/asm | |
parent | b4433a7cceed59714b0778e1ace624befdd15ded (diff) |
KVM: PPC: Get rid of unnecessary RFI
Using an RFI in IR=1 is dangerous. We need to set two SRRs and then do an RFI
without getting interrupted at all, because every interrupt could potentially
overwrite the SRR values.
Fortunately, we don't need to RFI in at least this particular case of the code,
so we can just replace it with an mtmsr and b.
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/include/asm')
0 files changed, 0 insertions, 0 deletions