[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190326081529.GF5182@yi.y.sun>
Date: Tue, 26 Mar 2019 16:15:29 +0800
From: Yi Sun <yi.y.sun@...ux.intel.com>
To: Andi Kleen <andi@...stfloor.org>
Cc: x86@...nel.org, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org, Andi Kleen <ak@...ux.intel.com>,
kys@...rosoft.com, haiyangz@...rosoft.com
Subject: Re: [PATCH 15/17] x86/hyperv: Make hv_vcpu_is_preempted visible
On 19-03-21 15:00:07, Andi Kleen wrote:
> From: Andi Kleen <ak@...ux.intel.com>
>
> This function is referrenced from assembler, so need to be marked
> visible for LTO.
>
> Cc: yi.y.sun@...ux.intel.com
> Cc: kys@...rosoft.com
> Cc: haiyangz@...rosoft.com
> Fixes: 3a025de64bf8 x86/hyperv: Enable PV qspinlock for Hyper-V
> Signed-off-by: Andi Kleen <ak@...ux.intel.com>
> ---
> arch/x86/hyperv/hv_spinlock.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/x86/hyperv/hv_spinlock.c b/arch/x86/hyperv/hv_spinlock.c
> index a861b0456b1a..07f21a06392f 100644
> --- a/arch/x86/hyperv/hv_spinlock.c
> +++ b/arch/x86/hyperv/hv_spinlock.c
> @@ -56,7 +56,7 @@ static void hv_qlock_wait(u8 *byte, u8 val)
> /*
> * Hyper-V does not support this so far.
> */
> -bool hv_vcpu_is_preempted(int vcpu)
> +__visible bool hv_vcpu_is_preempted(int vcpu)
> {
> return false;
> }
Reviewed-by: Yi Sun <yi.y.sun@...ux.intel.com>
> --
> 2.20.1
Powered by blists - more mailing lists