]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: move timer interrupt checks into own functions
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Tue, 18 Mar 2014 09:03:26 +0000 (10:03 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 22 Apr 2014 11:24:52 +0000 (13:24 +0200)
commit2d1f27e14b322b60614b8a18c77b51c8fae2b90b
tree53f144fdfb89f96995c2e206da5b5554f32aa75a
parent0be874d00a8c8a1b7a5d8c53e6416b1469638cea
KVM: s390: move timer interrupt checks into own functions

This patch moves the checks for enabled timer (clock-comparator) interrupts and pending
timer interrupts into own functions, making the code better readable and easier to
maintain.

The method kvm_cpu_has_pending_timer is filled with life.

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