Re: [PATCH v1] x86/insn: Fix linux/unaligned.h include path

From: Josh Poimboeuf
Date: Thu Feb 27 2025 - 17:37:10 EST


On Thu, Feb 27, 2025 at 08:46:26AM -0800, Namhyung Kim wrote:
> Adding Josh and Peter as it's used in objtool as well.
>
> On Wed, Feb 26, 2025 at 04:32:20PM -0800, Namhyung Kim wrote:
> > On Tue, Feb 25, 2025 at 11:36:00AM -0800, Ian Rogers wrote:
> > > tools/arch/x86/include/linux doesn't exist but building is working by
> > > virtue of a -I. Building using bazel this fails. Use angle brackets to
> > > include unaligned.h so there isn't an invalid relative include.
> >
> > Right, it's using tools/include/linux/unaligned.h.
>
> Josh, are you ok with this? I can carry this in the perf tools tree if
> you don't mind.

LGTM

Acked-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>

--
Josh