Re: [PATCH v4.1] include: linux: Reorganize timekeeping and ktime headers

From: Geert Uytterhoeven
Date: Mon Aug 09 2021 - 11:07:25 EST


On Sun, Aug 1, 2021 at 10:13 PM Carlos Bilbao <bilbao@xxxxxx> 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@xxxxxx>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>

> arch/m68k/atari/time.c | 1 +
> arch/m68k/hp300/time.c | 2 +
> arch/m68k/mac/via.c | 1 +
> arch/m68k/mvme16x/config.c | 1 +
> arch/m68k/sun3/sun3ints.c | 1 +

Acked-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds