fix: lttng-probe-kvm-x86-mmu build with linux 6.6
authorKienan Stewart <kstewart@efficios.com>
Tue, 26 Sep 2023 18:45:09 +0000 (14:45 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 27 Sep 2023 15:29:47 +0000 (11:29 -0400)
commite9c958aff0d306c0aef41e23c1a231c18991bbd3
tree7c0fcd93e5a0a04b8bd568b8f1ddffb332be443d
parente863dbec4e8d59a5cb600e3d4e61d7f46cc959ab
fix: lttng-probe-kvm-x86-mmu build with linux 6.6

A small change was made upstream in `spte.h` that requires
`arch/x86/kvm` to be added to the search path when
building lttng-probe-kvm.x86-mmu.o.

See upstream commit :

  commit d10f3780bc2f80744d291e118c0c8bade54ed3b8
  Author: Sean Christopherson <seanjc@google.com>
  Date:   Tue Aug 8 15:40:59 2023 -0700

      KVM: x86/mmu: Include mmu.h in spte.h

      Explicitly include mmu.h in spte.h instead of relying on the "parent" to
      include mmu.h.  spte.h references a variety of macros and variables that
      are defined/declared in mmu.h, and so including spte.h before (or instead
      of) mmu.h will result in build errors, e.g.

Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I5c3fc87d3b006cefbcca198e6e15868a342cb8dd
src/probes/Kbuild
This page took 0.026235 seconds and 4 git commands to generate.