Skip to content

Commit d0b9d6d

Browse files
committed
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>
1 parent 6255b48 commit d0b9d6d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

include/linux/sched_clock.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
#ifndef LINUX_SCHED_CLOCK
66
#define LINUX_SCHED_CLOCK
77

8+
#include <linux/types.h>
9+
810
#ifdef CONFIG_GENERIC_SCHED_CLOCK
911
/**
1012
* struct clock_read_data - data required to read from sched_clock()

0 commit comments

Comments
 (0)