[<prev] [next>] [day] [month] [year] [list]
Message-ID: <164733306599.16921.3819732401528699569.tip-bot2@tip-bot2>
Date: Tue, 15 Mar 2022 08:31:05 -0000
From: "tip-bot2 for Ingo Molnar" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Ingo Molnar <mingo@...nel.org>,
Peter Zijlstra <peterz@...radead.org>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: [tip: sched/core] sched/headers: Fix header to build standalone:
<linux/sched_clock.h>
The following commit has been merged into the sched/core branch of tip:
Commit-ID: d0b9d6dcaa5ac480c272683919f387cc6d82b638
Gitweb: https://git.kernel.org/tip/d0b9d6dcaa5ac480c272683919f387cc6d82b638
Author: Ingo Molnar <mingo@...nel.org>
AuthorDate: Thu, 23 Sep 2021 20:42:44 +02:00
Committer: Ingo Molnar <mingo@...nel.org>
CommitterDate: Wed, 23 Feb 2022 08:21:32 +01:00
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@...nel.org>
Reviewed-by: Peter Zijlstra <peterz@...radead.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 835ee87..cb41c5e 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()
Powered by blists - more mailing lists