cputime: remove cputime_to_nsecs fallback
authorNicholas Piggin <npiggin@gmail.com>
Tue, 20 Dec 2022 07:07:05 +0000 (17:07 +1000)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 27 Dec 2022 11:52:17 +0000 (12:52 +0100)
commitc89970202a1153b2fc230e89f90c180bd5bcbcef
tree5c979987c0eb0d8e3d71544b7788f08ac47044f8
parent8589018acc65e5ddfd111f0a7ee85f9afde3a830
cputime: remove cputime_to_nsecs fallback

The archs that use cputime_to_nsecs() internally provide their own
definition and don't need the fallback. cputime_to_usecs() unused except
in this fallback, and is not defined anywhere.

This removes the final remnant of the cputime_t code from the kernel.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>
Link: https://lore.kernel.org/r/20221220070705.2958959-1-npiggin@gmail.com
arch/s390/kernel/idle.c
arch/s390/kernel/vtime.c
include/linux/sched/cputime.h
kernel/sched/cputime.c