KVM: s390: disabled wait cares about machine checks, not PER
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Mon, 28 Sep 2015 11:32:38 +0000 (13:32 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 13 Oct 2015 13:50:32 +0000 (15:50 +0200)
commitfee0e0fdb2b9c221a3621bede722aa9f9c9f0d39
treed39a206e4b9e88c2876604c1655fb2650a121626
parentf59922b47e0a202386c8e8dcf9f0235b8a028ae0
KVM: s390: disabled wait cares about machine checks, not PER

We don't care about program event recording irqs (synchronous
program irqs) but asynchronous irqs when checking for disabled
wait. Machine checks were missing.

Let's directly switch to the functions we have for that purpose
instead of testing once again for magic bits.

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