Thread (14 messages) 14 messages, 4 authors, 2021-12-03

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

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2021-08-09 15:07:25
Also in: linux-arm-kernel, oe-kbuild-all

On Sun, Aug 1, 2021 at 10:13 PM Carlos Bilbao [off-list ref] 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 <redacted>
Reported-by: kernel test robot <redacted>
 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@linux-m68k.org>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help