Re: [PATCH v4 2/2] tracing: Remove trace_printk.h from kernel.h
Steven Rostedt <[email protected]> Fri, 26 Jun 2026 04:51:19 -0400
| Newsgroups | gmane.linux.usb.general,gmane.linux.kernel,gmane.linux.documentation,gmane.linux.kbuild.devel,gmane.linux.ports.ppc64.devel,gmane.comp.video.dri.devel,gmane.linux.ports.arm.kernel,gmane.linux.drivers.rdma,gmane.comp.file-systems.ext4,gmane.linux.nfs,gmane.comp.emulators.kvm.devel,gmane.comp.freedesktop.xorg.drivers.intel |
|---|---|
| Message-ID | <20260626045119.659d1e6b@fedora> |
On Thu, 25 Jun 2026 16:41:58 -0700 Nathan Chancellor <[email protected]> wrote: > The following diff resolves it for me, should I send it as a separate > patch or do you want to just fold it in with a note? > > diff --git a/include/linux/lockdep.h b/include/linux/lockdep.h > index 621566345406..2301a701ffbb 100644 > --- a/include/linux/lockdep.h > +++ b/include/linux/lockdep.h > @@ -10,6 +10,7 @@ > #ifndef __LINUX_LOCKDEP_H > #define __LINUX_LOCKDEP_H > > +#include <linux/instruction_pointer.h> Ah, so the reason for this breakage is because lockdep was relying on instruction_pointer.h, that just happened to be included in kernel.h via trace_printk.h. This is a separate issue, so it should be a separate patch. I'll add it as patch 1 of this series. Can you send me the config you used. This didn't trigger in my tests. Thanks, -- Steve > #include <linux/lockdep_types.h> > #include <linux/smp.h> > #include <asm/percpu.h>