]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: Use insn_length() to calculate length of instruction
authorThomas Huth <thuth@linux.vnet.ibm.com>
Wed, 11 Feb 2015 09:38:46 +0000 (10:38 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 6 Mar 2015 12:40:48 +0000 (13:40 +0100)
commit0bdb16e0a77596a573abff31b4e85046117b3934
tree6fd29a61e3b0d3b93e648e2b9723132b4c1e5484
parentee31a7d937e449a59f2decf7fa858b3f9e9eb86a
KVM: s390: Use insn_length() to calculate length of instruction

The common s390 function insn_length() results in slightly smaller
(and thus hopefully faster) code than the calculation of the
instruction length via a lookup-table. So let's use that function
in the interrupt delivery code, too.

Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/interrupt.c