Thomas Gleixner <tglx@xxxxxxxxxxxxx> writes: > On Tue, Jan 23 2024 at 17:46, Anna-Maria Behnsen wrote: >> hrtimer base related struct definitions are part of hrtimers.h as it is >> required there. With this, also the struct documentation which is for core >> code internal use, is exposed into the general api. To prevent this, all >> core internal definitions and the related includes are moved into >> hrtimer_defs header file. > > Shouldn't this simply move to kernel/time/... ? Nothing outside of it > needs hrtimer_base hrtimer_expires_remaining() which is defined in include/hrtimer.h dereferences hrtimer_clock_base; hrtimer_is_hres_active() also defined in include/hrtimer.h needs hrtimer_base. Thanks, Anna-Maria