diff options
author | Li Zhong <zhong@linux.vnet.ibm.com> | 2016-11-11 12:57:32 +0800 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2017-01-27 10:25:06 +1100 |
commit | 5efa6605151b84029edeb2e07f2d2d74b52c106f (patch) | |
tree | bbc78c6537d215f991b7972dedea6944c255b67f /arch/powerpc/kvm/book3s_xics.h | |
parent | 3deda5e50c893be38c1b6b3a73f8f8fb5560baa4 (diff) | |
download | linux-5efa6605151b84029edeb2e07f2d2d74b52c106f.tar.bz2 |
KVM: PPC: Book 3S: XICS cleanup: remove XICS_RM_REJECT
Commit b0221556dbd3 ("KVM: PPC: Book3S HV: Move virtual mode ICP functions
to real-mode") removed the setting of the XICS_RM_REJECT flag. And
since that commit, nothing else sets the flag any more, so we can remove
the flag and the remaining code that handles it, including the counter
that counts how many times it get set.
Signed-off-by: Li Zhong <zhong@linux.vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'arch/powerpc/kvm/book3s_xics.h')
-rw-r--r-- | arch/powerpc/kvm/book3s_xics.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/kvm/book3s_xics.h b/arch/powerpc/kvm/book3s_xics.h index 2a50320b55ca..1d5fac80b706 100644 --- a/arch/powerpc/kvm/book3s_xics.h +++ b/arch/powerpc/kvm/book3s_xics.h @@ -73,7 +73,6 @@ struct kvmppc_icp { */ #define XICS_RM_KICK_VCPU 0x1 #define XICS_RM_CHECK_RESEND 0x2 -#define XICS_RM_REJECT 0x4 #define XICS_RM_NOTIFY_EOI 0x8 u32 rm_action; struct kvm_vcpu *rm_kick_target; @@ -84,7 +83,6 @@ struct kvmppc_icp { /* Counters for each reason we exited real mode */ unsigned long n_rm_kick_vcpu; unsigned long n_rm_check_resend; - unsigned long n_rm_reject; unsigned long n_rm_notify_eoi; /* Counters for handling ICP processing in real mode */ unsigned long n_check_resend; |