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>
This commit is contained in:
parent
6255b48aeb
commit
d0b9d6dcaa
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user