From: Sam Ravnborg Date: Sat, 30 Mar 2024 09:57:44 +0000 (+0100) Subject: sparc64: Fix prototype warning for sched_clock X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=95706e717c4f55ca62025c151451ccc28863d085;p=linux.git sparc64: Fix prototype warning for sched_clock Fix the following warning: arch/sparc/kernel/time_64.c:880:20: warning: no previous prototype for ‘sched_clock’ Add the missing include to pick up the prototype. Signed-off-by: Sam Ravnborg Cc: Andreas Larsson Cc: David S. Miller Reviewed-by: Andreas Larsson Tested-by: Andreas Larsson Acked-by: Arnd Bergmann Link: https://lore.kernel.org/r/20240330-sparc64-warnings-v1-8-37201023ee2f@ravnborg.org Signed-off-by: Andreas Larsson --- diff --git a/arch/sparc/kernel/time_64.c b/arch/sparc/kernel/time_64.c index 89fb05f906095..60f1c8cc5363e 100644 --- a/arch/sparc/kernel/time_64.c +++ b/arch/sparc/kernel/time_64.c @@ -33,6 +33,7 @@ #include #include #include +#include #include #include