projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6255b48
)
sched/headers: Fix header to build standalone: <linux/sched_clock.h>
author
Ingo Molnar
<mingo@kernel.org>
Thu, 23 Sep 2021 18:42:44 +0000
(20:42 +0200)
committer
Ingo Molnar
<mingo@kernel.org>
Wed, 23 Feb 2022 07:21:32 +0000
(08:21 +0100)
Uses various kernel types that don't build standalone.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Peter Zijlstra <peterz@infradead.org>
include/linux/sched_clock.h
patch
|
blob
|
history
diff --git
a/include/linux/sched_clock.h
b/include/linux/sched_clock.h
index 835ee87ed79228d846fdf9c20ff4aa993cb07a60..cb41c5edb4d495eccb415d2421c18f74a4ee5fd2 100644
(file)
--- a/
include/linux/sched_clock.h
+++ b/
include/linux/sched_clock.h
@@
-5,6
+5,8
@@
#ifndef LINUX_SCHED_CLOCK
#define LINUX_SCHED_CLOCK
+#include <linux/types.h>
+
#ifdef CONFIG_GENERIC_SCHED_CLOCK
/**
* struct clock_read_data - data required to read from sched_clock()