[PATCH v5] include: linux: Reorganize timekeeping and ktime headers

Carlos Bilbao bilbao at vt.edu
Wed Dec 1 07:22:21 PST 2021


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...



More information about the linux-arm-kernel mailing list