diff options
author | Ingo Molnar <mingo@kernel.org> | 2021-09-23 21:42:44 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2022-02-23 10:21:32 +0300 |
commit | d0b9d6dcaa5ac480c272683919f387cc6d82b638 (patch) | |
tree | 91cbec88a73e92dfe7502827be6d1c713042cd25 /include/linux/sched_clock.h | |
parent | 6255b48aebfd4dff375e97fc8b075a235848db0b (diff) | |
download | linux-d0b9d6dcaa5ac480c272683919f387cc6d82b638.tar.xz |
sched/headers: Fix header to build standalone: <linux/sched_clock.h>
Uses various kernel types that don't build standalone.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Peter Zijlstra <peterz@infradead.org>
Diffstat (limited to 'include/linux/sched_clock.h')
-rw-r--r-- | include/linux/sched_clock.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sched_clock.h b/include/linux/sched_clock.h index 835ee87ed792..cb41c5edb4d4 100644 --- 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() |