[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <39F4C46F-6B94-4F0E-9CC6-1AB0BB5D6209@lca.pw>
Date: Thu, 23 Jan 2020 12:23:36 -0500
From: Qian Cai <cai@....pw>
To: Will Deacon <will@...nel.org>
Cc: peterz@...radead.org, longman@...hat.com, mingo@...hat.com,
catalin.marinas@....com, clang-built-linux@...glegroups.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] arm64/spinlock: fix a -Wunused-function warning
> On Jan 23, 2020, at 11:56 AM, Will Deacon <will@...nel.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.
Powered by blists - more mailing lists