diff options
author | Paul Mackerras <paulus@ozlabs.org> | 2018-10-08 08:30:58 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-10-09 08:04:27 +0300 |
commit | fd0944baad806dfb4c777124ec712c55b714ff51 (patch) | |
tree | e48fd04986af4a05fd2d5a867fdbf4ea7cc2b318 /net/mac80211/key.c | |
parent | 9a94d3ee2d159927c0f8e5078228eadbce8dda43 (diff) | |
download | linux-fd0944baad806dfb4c777124ec712c55b714ff51.tar.xz |
KVM: PPC: Use ccr field in pt_regs struct embedded in vcpu struct
When the 'regs' field was added to struct kvm_vcpu_arch, the code
was changed to use several of the fields inside regs (e.g., gpr, lr,
etc.) but not the ccr field, because the ccr field in struct pt_regs
is 64 bits on 64-bit platforms, but the cr field in kvm_vcpu_arch is
only 32 bits. This changes the code to use the regs.ccr field
instead of cr, and changes the assembly code on 64-bit platforms to
use 64-bit loads and stores instead of 32-bit ones.
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'net/mac80211/key.c')
0 files changed, 0 insertions, 0 deletions