Messages in this thread Patch in this message | | | From | Ingo Molnar <> | Subject | [PATCH 01/15] sched/headers: Fix header to build standalone: <linux/sched_clock.h> | Date | Tue, 15 Mar 2022 09:42:33 +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 | 2 ++ 1 file changed, 2 insertions(+)
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() -- 2.32.0
| |