[PATCH v5] include: linux: Reorganize timekeeping and ktime headers
Greg KH
gregkh at linuxfoundation.org
Fri Dec 3 05:28:40 PST 2021
On Wed, Dec 01, 2021 at 10:22:21AM -0500, Carlos Bilbao wrote:
> On 11/16/21 5:11 PM, Carlos Bilbao wrote:
> > Reorganize and separate the headers by making ktime.h take care of the
> > ktime_get() family of functions, and reserve timekeeping.h for the actual
> > timekeeping. This also helps to avoid implicit function errors and strengthens
> > the header dependencies, since timekeeping.h was using ktime_to_ns(), a static
> > function defined in a header it does no include, ktime.h. Include the header
> > timekeeping.h wherever it is necessary for a successful compilation after the
> > header code reorganization.
> >
> > Signed-off-by: Carlos Bilbao <bilbao at vt.edu>
> > Acked-by: Geert Uytterhoeven <geert at linux-m68k.org>
> > Reported-by: kernel test robot <lkp at intel.com>
> > ---
>
> Someone, look at me! What a lonely and solitary patch I am...
Yes it is, maybe the time maintainers will pick it up eventually if they
feel it is valid.
good luck!
greg k-h
More information about the linux-arm-kernel
mailing list