Re: [PATCH 6/7] kvm/arm: Make force_vm_exit static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 4, 2013 at 4:33 PM, Geoff Levand <geoff@xxxxxxxxxxxxx> wrote:
> The routine force_vm_exit() is not referenced outside kvm/arm.c,
> so make it have static linkage.
>
> Signed-off-by: Geoff Levand <geoff@xxxxxxxxxxxxx>
> ---
>  arch/arm/include/asm/kvm_host.h |    1 -
>  arch/arm/kvm/arm.c              |    2 +-
>  2 files changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/arch/arm/include/asm/kvm_host.h b/arch/arm/include/asm/kvm_host.h
> index d1736a5..1e93cef 100644
> --- a/arch/arm/include/asm/kvm_host.h
> +++ b/arch/arm/include/asm/kvm_host.h
> @@ -149,7 +149,6 @@ struct kvm_one_reg;
>  int kvm_arm_get_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg);
>  int kvm_arm_set_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg);
>  u64 kvm_call_hyp(void *hypfn, ...);
> -void force_vm_exit(const cpumask_t *mask);
>
>  #define KVM_ARCH_WANT_MMU_NOTIFIER
>  struct kvm;
> diff --git a/arch/arm/kvm/arm.c b/arch/arm/kvm/arm.c
> index 49b4bc6..86becdc 100644
> --- a/arch/arm/kvm/arm.c
> +++ b/arch/arm/kvm/arm.c
> @@ -400,7 +400,7 @@ static void exit_vm_noop(void *info)
>  {
>  }
>
> -void force_vm_exit(const cpumask_t *mask)
> +static void force_vm_exit(const cpumask_t *mask)
>  {
>         smp_call_function_many(mask, exit_vm_noop, NULL, true);
>  }
> --
> 1.7.9.5
>
>
I can take this one.

-Christoffer
_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm




[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux