Re: [PATCH] lockdep: Add #include <linux/instruction_pointer.h> to lockdep.h

From: Yury Norov

Date: Wed Oct 28 2026 - 11:55:36 EST


On Wed, Oct 28, 2026 at 11:45:28AM -0400, Steven Rostedt wrote:
> On Wed, 28 Oct 2026 11:16:05 -0400
> Yury Norov <ynorov@xxxxxxxxxx> wrote:
>
> > On Wed, Oct 28, 2026 at 11:05:58AM -0400, Steven Rostedt wrote:
> > > From: Steven Rostedt <rostedt@xxxxxxxxxxx>
> > >
> > > On 32bit x86, _THIS_IP_ is not defined in asm/linkage.h. It happens to get
> > > included into lockdep.h via kernel.h pulling in trace_printk.h which
> > > includes instruction_pointer.h that has _THIS_IP_ defined when linkage.h
> > > does not.
> > >
> > > In order to remove trace_printk.h from kernel.h, have lockdep.h include
> > > instruction_pointer.h directly.
> > >
> > > Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
> >
> > Reviewed-by: Yury Norov <yury.norov@xxxxxxxxx>
>
> Thanks Yury.
>
> Peter, can you give me an Acked-by on this patch and then I can add it to
> my series to remove trace_printk.h from kernel.h as that depends on this
> patch.

Steven, can you share a link to the series?