Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1576917

[PATCH 23/35] sched/headers: Remove <linux/sched.h> from <linux/sched/hotplug.h>

From Ingo Molnar <mingo@kernel.org>
Newsgroups linux.kernel
Subject [PATCH 23/35] sched/headers: Remove <linux/sched.h> from <linux/sched/hotplug.h>
Date 2017-02-08 20:10 +0100
Message-ID <t8FMU-4eP-81@gated-at.bofh.it> (permalink)
References <t8FMS-4eP-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The <linux/sched/hotplug.h> file is a self-contained header and users of
it either don't need <linux/sched.h> - or have already included it.

This reduces the size of the header dependency graph.

Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 include/linux/sched/hotplug.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/linux/sched/hotplug.h b/include/linux/sched/hotplug.h
index c608d3c1ddb8..752ac7e628d7 100644
--- a/include/linux/sched/hotplug.h
+++ b/include/linux/sched/hotplug.h
@@ -1,8 +1,6 @@
 #ifndef _LINUX_SCHED_HOTPLUG_H
 #define _LINUX_SCHED_HOTPLUG_H
 
-#include <linux/sched.h>
-
 /*
  * Scheduler interfaces for hotplug CPU support:
  */
-- 
2.7.4

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 23/35] sched/headers: Remove <linux/sched.h> from <linux/sched/hotplug.h> Ingo Molnar <mingo@kernel.org> - 2017-02-08 20:10 +0100

csiph-web