Commit d0b9d6dc authored by Ingo Molnar's avatar Ingo Molnar

sched/headers: Fix header to build standalone: <linux/sched_clock.h>

Uses various kernel types that don't build standalone.
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Reviewed-by: default avatarPeter Zijlstra <peterz@infradead.org>
parent 6255b48a
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
#ifndef LINUX_SCHED_CLOCK #ifndef LINUX_SCHED_CLOCK
#define LINUX_SCHED_CLOCK #define LINUX_SCHED_CLOCK
#include <linux/types.h>
#ifdef CONFIG_GENERIC_SCHED_CLOCK #ifdef CONFIG_GENERIC_SCHED_CLOCK
/** /**
* struct clock_read_data - data required to read from sched_clock() * struct clock_read_data - data required to read from sched_clock()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment