KVM: s390: use switch vs jump table in interrupt.c
authorDavid Hildenbrand <david@redhat.com>
Tue, 6 Feb 2018 14:17:43 +0000 (15:17 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 14 Feb 2018 13:53:43 +0000 (13:53 +0000)
commitbaabee67f4135e3de87bc874929ac50637aacb0d
tree64aa3bd3118a8857ff818960a69f920548fe20f3
parentcb7485da3ed1ac4ef6c71d4b2b715f8b87f118c8
KVM: s390: use switch vs jump table in interrupt.c

Just like for the interception handlers, let's also use a switch-case
in our interrupt delivery code.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20180206141743.24497-1-david@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Janosch Frank <frankja@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/interrupt.c