x86/hyperv: Make hv_vcpu_is_preempted() visible
authorAndi Kleen <ak@linux.intel.com>
Sat, 30 Mar 2019 00:47:40 +0000 (17:47 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 19 Apr 2019 15:58:57 +0000 (17:58 +0200)
commit02143c2931c3c0faf088c5859a10de6c2b4f2d96
tree0c8a81a3123fa142323820023b3fbf7a003f8358
parentba696429d290690db967e5f49463df4b2c1314a4
x86/hyperv: Make hv_vcpu_is_preempted() visible

This function is referrenced from assembler, so it needs to be marked
visible for LTO.

Fixes: 3a025de64bf8 ("x86/hyperv: Enable PV qspinlock for Hyper-V")
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Yi Sun <yi.y.sun@linux.intel.com>
Cc: kys@microsoft.com
Cc: haiyangz@microsoft.com
Link: https://lkml.kernel.org/r/20190330004743.29541-6-andi@firstfloor.org
arch/x86/hyperv/hv_spinlock.c