From: "tip-bot2 for Ingo Molnar" <tip-bot2@linutronix.de>
To: linux-tip-commits@vger.kernel.org
Cc: Ingo Molnar <mingo@kernel.org>,
Peter Zijlstra <peterz@infradead.org>,
x86@kernel.org, linux-kernel@vger.kernel.org
Subject: [tip: sched/core] sched/headers: Fix header to build standalone: <linux/sched_clock.h>
Date: Tue, 15 Mar 2022 08:31:05 -0000 [thread overview]
Message-ID: <164733306599.16921.3819732401528699569.tip-bot2@tip-bot2> (raw)
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@kernel.org>
AuthorDate: Thu, 23 Sep 2021 20:42:44 +02:00
Committer: Ingo Molnar <mingo@kernel.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@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 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()
reply other threads:[~2022-03-15 8:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=164733306599.16921.3819732401528699569.tip-bot2@tip-bot2 \
--to=tip-bot2@linutronix.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®