[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87h6j1d2ol.fsf@somnus>
Date: Thu, 25 Jan 2024 13:20:58 +0100
From: Anna-Maria Behnsen <anna-maria@...utronix.de>
To: Thomas Gleixner <tglx@...utronix.de>, linux-kernel@...r.kernel.org
Cc: Frederic Weisbecker <frederic@...nel.org>, Ingo Molnar
<mingo@...nel.org>, John Stultz <jstultz@...gle.com>, Stephen Boyd
<sboyd@...nel.org>, Jonathan Corbet <corbet@....net>, Clemens Ladisch
<clemens@...isch.de>, linux-doc@...r.kernel.org
Subject: Re: [PATCH 1/8] include/hrtimers: Move hrtimer base related
definitions into hrtimer_defs
Thomas Gleixner <tglx@...utronix.de> 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
Powered by blists - more mailing lists