From: Ingo Molnar Date: Wed, 11 Jan 2023 09:25:34 +0000 (+0100) Subject: sched/cputime: Fix IA64 build error of missing arch_vtime_task_switch() prototype X-Git-Tag: v6.6.17~5545^2~74 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cd9f5c3d3096e26fa128ae747f66383002001398;p=platform%2Fkernel%2Flinux-rpi.git sched/cputime: Fix IA64 build error of missing arch_vtime_task_switch() prototype The following commit: c89970202a11 ("cputime: remove cputime_to_nsecs fallback") Removed an inclusion from , but this broke the IA64 build: arch/ia64/kernel/time.c:110:6: warning: no previous prototype for 'arch_vtime_task_switch' [-Wmissing-prototypes] Add in the missing header to fix it. Fixes: c89970202a11 ("cputime: remove cputime_to_nsecs fallback") Reported-by: kernel test robot Signed-off-by: Ingo Molnar Cc: linux-kernel@vger.kernel.org Cc: Nicholas Piggin Cc: Peter Zijlstra (Intel) Cc: Alexander Gordeev Signed-off-by: Ingo Molnar --- diff --git a/arch/ia64/kernel/time.c b/arch/ia64/kernel/time.c index fa9c0ab..83ef044 100644 --- a/arch/ia64/kernel/time.c +++ b/arch/ia64/kernel/time.c @@ -25,6 +25,7 @@ #include #include +#include #include #include #include