diff options
author | Sam Ravnborg <[email protected]> | 2024-03-30 10:57:44 +0100 |
---|---|---|
committer | Andreas Larsson <[email protected]> | 2024-04-22 15:33:06 +0200 |
commit | 95706e717c4f55ca62025c151451ccc28863d085 (patch) | |
tree | 4c28a659329c9fe88e37b8c68f8a02db2d3130d0 | |
parent | b536adbcf872f970f87a05b0a7344d3f6313ac95 (diff) |
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 <[email protected]>
Cc: Andreas Larsson <[email protected]>
Cc: David S. Miller <[email protected]>
Reviewed-by: Andreas Larsson <[email protected]>
Tested-by: Andreas Larsson <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Andreas Larsson <[email protected]>
-rw-r--r-- | arch/sparc/kernel/time_64.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/kernel/time_64.c b/arch/sparc/kernel/time_64.c index 89fb05f90609..60f1c8cc5363 100644 --- a/arch/sparc/kernel/time_64.c +++ b/arch/sparc/kernel/time_64.c @@ -33,6 +33,7 @@ #include <linux/clockchips.h> #include <linux/clocksource.h> #include <linux/platform_device.h> +#include <linux/sched/clock.h> #include <linux/ftrace.h> #include <asm/oplib.h> |