aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm
diff options
context:
space:
mode:
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>2014-10-09 09:01:38 -0400
committerChristian Borntraeger <borntraeger@de.ibm.com>2015-01-23 07:25:36 -0500
commit9fbd80828cef1b1bba5a293609a021047bb86a7e (patch)
treeec495e61c2574c9bb76c21840a9c15b50ddec018 /arch/s390/include/asm
parentea5f496925755bc5e13adbdcfcb841bc2848913b (diff)
KVM: s390: clear the pfault queue if user space sets the invalid token
We need a way to clear the async pfault queue from user space (e.g. for resets and SIGP SET ARCHITECTURE). This patch simply clears the queue as soon as user space sets the invalid pfault token. The definition of the invalid token is moved to uapi. Signed-off-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/include/asm')
-rw-r--r--arch/s390/include/asm/kvm_host.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/s390/include/asm/kvm_host.h b/arch/s390/include/asm/kvm_host.h
index 4de479e47f71..b6170520380b 100644
--- a/arch/s390/include/asm/kvm_host.h
+++ b/arch/s390/include/asm/kvm_host.h
@@ -469,7 +469,6 @@ struct kvm_vcpu_arch {
469 }; 469 };
470 struct gmap *gmap; 470 struct gmap *gmap;
471 struct kvm_guestdbg_info_arch guestdbg; 471 struct kvm_guestdbg_info_arch guestdbg;
472#define KVM_S390_PFAULT_TOKEN_INVALID (-1UL)
473 unsigned long pfault_token; 472 unsigned long pfault_token;
474 unsigned long pfault_select; 473 unsigned long pfault_select;
475 unsigned long pfault_compare; 474 unsigned long pfault_compare;