Re: [v3 PATCH 1/2] lockdep: Split header file into lockdep and lockdep_types
From: Peter Zijlstra
Date: Thu Jun 18 2020 - 10:38:26 EST
On Wed, Jun 17, 2020 at 02:24:50PM +0200, Petr Mladek wrote:
> On Wed 2020-06-17 10:24:59, Peter Zijlstra wrote:
> > On Wed, Jun 17, 2020 at 05:17:19PM +1000, Herbert Xu wrote:
> > > There is a header file inclusion loop between asm-generic/bug.h
> > > and linux/kernel.h. This causes potential compile failurs depending
> > > on the which file is included first. One way of breaking this loop
> > > is to stop spinlock_types.h from including lockdep.h. This patch
> > > splits lockdep.h into two files for this purpose.
> > >
> > > Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
> > > Reviewed-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
> > > Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>
> > > Acked-by: Petr Mladek <pmladek@xxxxxxxx>
> > > Acked-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>
> >
> > Looks good.
> >
> > Petr, how about I stick this in tip/locking/header for us both to share?
>
> Sure. Sounds good to me.
OK, done. tip/locking/header should contain just this patch, and that
branch also got merged into tip/locking/core.