Re: [PATCH] time/tick-broadcast: Fix tick_broadcast_offline() lockdep complaint
From: Frederic Weisbecker
Date: Tue Jun 25 2019 - 08:25:21 EST
On Tue, Jun 25, 2019 at 09:51:39AM +0200, Peter Zijlstra wrote:
> On Tue, Jun 25, 2019 at 02:43:00AM +0200, Frederic Weisbecker wrote:
> > Yeah, unfortunately there is no atomic_add_not_zero_return().
>
> There is atomic_fetch_add_unless().
Ah, that could work!