On 20.02.2026 22:46, Andrew Cooper wrote: > A range of functions can't see their declarations, requiring the inclusion of > appropriate headers. > > For pv/mm.h and pv/traps.h, this requires adjustements to become standalone. > > In pv/mm.h, swap xen/lib.h for xen/bug.h now that ASSERT_UNREACHABLE() has > moved. For pv/traps.h, pv_trap_callback_registered() needs to see a complete > struct vcpu, and xen/sched.h is not something appropriate to pull in > conditionally. > > stack-protector.c can't see the declaration of __stack_chk_guard, and fixing > that reveals that stack-protector.h needs get_cycles() too. > > No functional change. > > Signed-off-by: Andrew Cooper <[email protected]>
Acked-by: Jan Beulich <[email protected]>
