]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
KVM: s390: abstract conversion between isc and enum irq_types
authorMichael Mueller <mimu@linux.vnet.ibm.com>
Mon, 3 Jul 2017 13:32:50 +0000 (15:32 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 9 Nov 2017 08:49:48 +0000 (09:49 +0100)
commitee739f4b216e9394281cf99e6d93c67bdf4a37d2
tree0b209402a4ce76ef63762766b6441068de26c704
parentf7a6509fe002e3909cb41c09e807b7f3ca4a361b
KVM: s390: abstract conversion between isc and enum irq_types

The abstraction of the conversion between an isc value and an irq_type
by means of functions isc_to_irq_type() and irq_type_to_isc() allows
to clarify the respective operations where used.

Signed-off-by: Michael Mueller <mimu@linux.vnet.ibm.com>
Reviewed-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Reviewed-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/interrupt.c