diff options
author | Thomas Huth <thuth@linux.vnet.ibm.com> | 2015-02-11 10:38:46 +0100 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2015-03-06 13:40:48 +0100 |
commit | 33b412acd32d403a8de9511f236f9b4f31551868 (patch) | |
tree | 6fd29a61e3b0d3b93e648e2b9723132b4c1e5484 /arch/s390/kvm/kvm-s390.c | |
parent | 492d8642eaefbd47f6fb0e8265f058c02720e5c8 (diff) |
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>
Diffstat (limited to 'arch/s390/kvm/kvm-s390.c')
0 files changed, 0 insertions, 0 deletions