[PATCH] bit_spinlock: Include

2023-01-08 Thread Christophe JAILLET
In an attempt to simplify some includes in , it appeared, when compiling fs/ecryptfs/dentry.c, that was relying on other includes to get the definition of cpu_relax(). (see [1]) It broke on arc. Include in to fix the issue. This will help remove some un-needed includes from . [1]: https://lor

Re: [PATCH] bit_spinlock: Include

2023-01-09 Thread Dan Carpenter
On Sun, Jan 08, 2023 at 08:04:44PM +0100, Christophe JAILLET wrote: > In an attempt to simplify some includes in , it > appeared, when compiling fs/ecryptfs/dentry.c, that > was relying on other includes to get the definition of cpu_relax(). > (see [1]) > > It broke on arc. > > Include in to f

Re: [PATCH] bit_spinlock: Include

2023-01-09 Thread Andrew Morton
On Sun, 8 Jan 2023 20:04:44 +0100 Christophe JAILLET wrote: > In an attempt to simplify some includes in , it > appeared, when compiling fs/ecryptfs/dentry.c, that > was relying on other includes to get the definition of cpu_relax(). > (see [1]) > > It broke on arc. > > Include in to fix t

Re: [PATCH] bit_spinlock: Include

2023-01-09 Thread Vineet Gupta
On 1/8/23 11:04, Christophe JAILLET wrote: In an attempt to simplify some includes in , it appeared, when compiling fs/ecryptfs/dentry.c, that was relying on other includes to get the definition of cpu_relax(). (see [1]) It broke on arc. It its just ARC that broke, maybe we can do something

Re: [PATCH] bit_spinlock: Include

2023-01-10 Thread Christophe JAILLET
Le 10/01/2023 à 08:19, Vineet Gupta a écrit : On 1/8/23 11:04, Christophe JAILLET wrote: In an attempt to simplify some includes in , it appeared, when compiling fs/ecryptfs/dentry.c, that was relying on other includes to get the definition of cpu_relax(). (see [1]) It broke on arc. It it

Re: [PATCH] bit_spinlock: Include

2023-01-10 Thread Al Viro
On Tue, Jan 10, 2023 at 07:08:33PM +0100, Christophe JAILLET wrote: > Le 10/01/2023 à 08:19, Vineet Gupta a écrit : > > > > On 1/8/23 11:04, Christophe JAILLET wrote: > > > In an attempt to simplify some includes in , it > > > appeared, when compiling fs/ecryptfs/dentry.c, that > > > > > > was re