Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

s390/kvm: Use psw32_t instead of psw_compat_t

kvm_s390_handle_lpsw() make use of the psw_compat_t type even though
the code has nothing to do with CONFIG_COMPAT, for which the type is
supposed to be used. Use psw32_t instead.

Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>

+1 -1
+1 -1
arch/s390/kvm/priv.c
··· 754 754 int kvm_s390_handle_lpsw(struct kvm_vcpu *vcpu) 755 755 { 756 756 psw_t *gpsw = &vcpu->arch.sie_block->gpsw; 757 - psw_compat_t new_psw; 757 + psw32_t new_psw; 758 758 u64 addr; 759 759 int rc; 760 760 u8 ar;