Skip to content

Commit b2da5f6

Browse files
committed
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 parent 8c633c7 commit b2da5f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/s390/kvm/priv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ int is_valid_psw(psw_t *psw)
754754
int kvm_s390_handle_lpsw(struct kvm_vcpu *vcpu)
755755
{
756756
psw_t *gpsw = &vcpu->arch.sie_block->gpsw;
757-
psw_compat_t new_psw;
757+
psw32_t new_psw;
758758
u64 addr;
759759
int rc;
760760
u8 ar;

0 commit comments

Comments
 (0)