Messages in this thread | | | From | Qian Cai <> | Subject | Re: [PATCH -next] arm64/spinlock: fix a -Wunused-function warning | Date | Thu, 23 Jan 2020 12:23:36 -0500 |
| |
> On Jan 23, 2020, at 11:56 AM, Will Deacon <will@kernel.org> wrote: > > Damn, the whole point of this was to warn in the case that > vcpu_is_preempted() does get defined for arm64. Can we force it to evaluate > the macro argument instead (e.g. ({ (cpu), false; }) or something)?
That should work. Let me test it out and rinse.
| |