]> 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)
commit1490b726fdd535a25f6a21a3ee1036125f6c9c2d
tree53f144fdfb89f96995c2e206da5b5554f32aa75a
parent8b5cc77b18996277cf5fef9bcd315bad04a0e0a8
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