2019-11-27 00:32:46

by 彭浩(Richard)

[permalink] [raw]
Subject: [PATCH] kvm/x86: export kvm_vector_hashing_enabled() is unnecessary

kvm_vector_hashing_enabled() is just called in kvm.ko module.

Signed-off-by: Peng Hao <[email protected]>
---
arch/x86/kvm/x86.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 5d53052..169cea6 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -10236,7 +10236,6 @@ bool kvm_vector_hashing_enabled(void)
{
return vector_hashing;
}
-EXPORT_SYMBOL_GPL(kvm_vector_hashing_enabled);

bool kvm_arch_no_poll(struct kvm_vcpu *vcpu)
{
--
1.8.3.1


2019-11-27 00:35:50

by Liran Alon

[permalink] [raw]
Subject: Re: [PATCH] kvm/x86: export kvm_vector_hashing_enabled() is unnecessary



> On 27 Nov 2019, at 2:30, Peng Hao <[email protected]> wrote:
>
> kvm_vector_hashing_enabled() is just called in kvm.ko module.
>
> Signed-off-by: Peng Hao <[email protected]>

Reviewed-by: Liran Alon <[email protected]>

2020-01-21 12:28:13

by Paolo Bonzini

[permalink] [raw]
Subject: Re: [PATCH] kvm/x86: export kvm_vector_hashing_enabled() is unnecessary

On 27/11/19 01:30, Peng Hao wrote:
> kvm_vector_hashing_enabled() is just called in kvm.ko module.
>
> Signed-off-by: Peng Hao <[email protected]>
> ---
> arch/x86/kvm/x86.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
> index 5d53052..169cea6 100644
> --- a/arch/x86/kvm/x86.c
> +++ b/arch/x86/kvm/x86.c
> @@ -10236,7 +10236,6 @@ bool kvm_vector_hashing_enabled(void)
> {
> return vector_hashing;
> }
> -EXPORT_SYMBOL_GPL(kvm_vector_hashing_enabled);
>
> bool kvm_arch_no_poll(struct kvm_vcpu *vcpu)
> {
>

Queued, thanks.

Paolo