Re: [v3 PATCH 1/2] lockdep: Split header file into lockdep and lockdep_types

From: Petr Mladek
Date: Wed Jun 17 2020 - 08:24:56 EST


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.

Best Regards,
Petr