diff mbox

KVM: x86: remove obsolete EXPORT... of handle_mmio_page_fault

Message ID 20180329220401.24725-1-sean.j.christopherson@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Sean Christopherson March 29, 2018, 10:04 p.m. UTC
handle_mmio_page_fault() was recently moved to be an internal-only
MMU function, i.e. it's static and no longer defined in kvm_host.h.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
---
 arch/x86/kvm/mmu.c | 1 -
 1 file changed, 1 deletion(-)

Comments

David Hildenbrand April 3, 2018, 8:25 a.m. UTC | #1
On 30.03.2018 00:04, Sean Christopherson wrote:
> handle_mmio_page_fault() was recently moved to be an internal-only
> MMU function, i.e. it's static and no longer defined in kvm_host.h.
> 
> Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
> ---
>  arch/x86/kvm/mmu.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
> index f551962ac294..3659f00c1533 100644
> --- a/arch/x86/kvm/mmu.c
> +++ b/arch/x86/kvm/mmu.c
> @@ -3717,7 +3717,6 @@ static int handle_mmio_page_fault(struct kvm_vcpu *vcpu, u64 addr, bool direct)
>  	 */
>  	return RET_PF_RETRY;
>  }
> -EXPORT_SYMBOL_GPL(handle_mmio_page_fault);
>  
>  static bool page_fault_handle_page_track(struct kvm_vcpu *vcpu,
>  					 u32 error_code, gfn_t gfn)
> 

Reviewed-by: David Hildenbrand <david@redhat.com>
Sean Christopherson May 22, 2018, 12:49 p.m. UTC | #2
Gentle ping.

On Thu, 2018-03-29 at 15:04 -0700, Sean Christopherson wrote:
> handle_mmio_page_fault() was recently moved to be an internal-only
> MMU function, i.e. it's static and no longer defined in kvm_host.h.
> 
> Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
> ---
>  arch/x86/kvm/mmu.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
> index f551962ac294..3659f00c1533 100644
> --- a/arch/x86/kvm/mmu.c
> +++ b/arch/x86/kvm/mmu.c
> @@ -3717,7 +3717,6 @@ static int handle_mmio_page_fault(struct kvm_vcpu *vcpu, u64 addr, bool direct)
>  	 */
>  	return RET_PF_RETRY;
>  }
> -EXPORT_SYMBOL_GPL(handle_mmio_page_fault);
>  
>  static bool page_fault_handle_page_track(struct kvm_vcpu *vcpu,
>  					 u32 error_code, gfn_t gfn)
Radim Krčmář May 23, 2018, 1:30 p.m. UTC | #3
2018-05-22 05:49-0700, Sean Christopherson:
> Gentle ping.

Queued, thanks.

> On Thu, 2018-03-29 at 15:04 -0700, Sean Christopherson wrote:
> > handle_mmio_page_fault() was recently moved to be an internal-only
> > MMU function, i.e. it's static and no longer defined in kvm_host.h.
> > 
> > Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
> > ---
> >  arch/x86/kvm/mmu.c | 1 -
> >  1 file changed, 1 deletion(-)
> > 
> > diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
> > index f551962ac294..3659f00c1533 100644
> > --- a/arch/x86/kvm/mmu.c
> > +++ b/arch/x86/kvm/mmu.c
> > @@ -3717,7 +3717,6 @@ static int handle_mmio_page_fault(struct kvm_vcpu *vcpu, u64 addr, bool direct)
> >  	 */
> >  	return RET_PF_RETRY;
> >  }
> > -EXPORT_SYMBOL_GPL(handle_mmio_page_fault);
> >  
> >  static bool page_fault_handle_page_track(struct kvm_vcpu *vcpu,
> >  					 u32 error_code, gfn_t gfn)
diff mbox

Patch

diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index f551962ac294..3659f00c1533 100644
--- a/arch/x86/kvm/mmu.c
+++ b/arch/x86/kvm/mmu.c
@@ -3717,7 +3717,6 @@  static int handle_mmio_page_fault(struct kvm_vcpu *vcpu, u64 addr, bool direct)
 	 */
 	return RET_PF_RETRY;
 }
-EXPORT_SYMBOL_GPL(handle_mmio_page_fault);
 
 static bool page_fault_handle_page_track(struct kvm_vcpu *vcpu,
 					 u32 error_code, gfn_t gfn)