Re: [RFC PATCH 17/21] linux/bit_spinlock.h: Include linux/processor.h

From: Will Deacon
Date: Tue Mar 24 2020 - 17:08:17 EST


On Tue, Mar 24, 2020 at 05:28:20PM +0100, Greg KH wrote:
> On Tue, Mar 24, 2020 at 03:36:39PM +0000, Will Deacon wrote:
> > Needed for cpu_relax().
>
> Is this needed now, or for the next patch? And if for next patch, why
> not just add it then?

If the next patch correctly included linux/list_bl.h like it was supposed
to, then yes, it's needed there. I'll sort that out and fold this in for
v2.

Cheers,

Will