Re: [PATCH v2 1/1] s390/spinlock: Provide vcpu_is_preempted
From: Christian Borntraeger
Date: Fri Sep 30 2016 - 10:34:49 EST
On 09/30/2016 06:49 AM, Pan Xinhui wrote:
>
> but I can't help thinking that if this is a!SMP system, maybe we could only
> #ifndef CONFIG_SMP
> static inline bool arch_vcpu_is_preempted(int cpu) { return false; }
> #else
Yes, I will add that to v3. Thanks for spotting.