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


Groups > linux.kernel > #1574766

[PATCH 24/89] sched/headers: Remove #include <linux/capability.h> from <linux/sched.h>

From Ingo Molnar <mingo@kernel.org>
Newsgroups linux.kernel
Subject [PATCH 24/89] sched/headers: Remove #include <linux/capability.h> from <linux/sched.h>
Date 2017-02-06 15:00 +0100
Message-ID <t7RZL-5F5-7@gated-at.bofh.it> (permalink)
References <t7RGp-5x6-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The <linux/sched.h> header does not actually make use of any
types or APIs defined in <linux/capability.h>, so remove its inclusion.

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

diff --git a/include/linux/sched.h b/include/linux/sched.h
index 121f2df0711a..c36df08ac7bf 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -7,7 +7,6 @@
 
 #include <asm/param.h>	/* for HZ */
 
-#include <linux/capability.h>
 #include <linux/threads.h>
 #include <linux/kernel.h>
 #include <linux/types.h>
-- 
2.7.4

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


Thread

[PATCH 24/89] sched/headers: Remove #include <linux/capability.h> from <linux/sched.h> Ingo Molnar <mingo@kernel.org> - 2017-02-06 15:00 +0100

csiph-web