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


Groups > linux.kernel > #1576927

[PATCH 01/35] sched/headers: Remove <linux/sched.h> from <linux/sched/topology.h>

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Ingo Molnar <mingo@kernel.org>
Newsgroups linux.kernel
Subject [PATCH 01/35] sched/headers: Remove <linux/sched.h> from <linux/sched/topology.h>
Date Wed, 08 Feb 2017 20:10:05 +0100
Message-ID <t8FMV-4eP-93@gated-at.bofh.it> (permalink)
References <t8FMS-4eP-3@gated-at.bofh.it>
X-Original-To linux-kernel@vger.kernel.org
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=fVLWkc3FG9i7DLFP0AJGgO4PBhTK5tia+z277UslE9E=; b=jVOzSUclEgeBVhy9kvulD0UtzfI/GXPVege2WN9i6rXFU989x2o4Ed5zhVIj4+oBV4 Mznx3IBbr5wRR4bE5IAj2dq97euov+h3SA3S6wRb0b01Xz/pLE9k5TyqeIr5Ahi70wAh s8q8+WOGwA+x8CffyZ0Jh/ff06gx/du3ugTBxqXvPc+TtTfidD3Uwc5/OOtAJttPi6PY 0PubtyAMxV1djO4RMQlOqutcJ74g0yDMJ1qDOuvo7pOKzw9qY0QLvieznD7W8MQYUggY uiBkaMP12wlEcUiB33l8Qyuj1K1Ta5/jSRO5Sdv/BTT0B6krEflbApAwGuNXU3PppL7M N3Vw==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=fVLWkc3FG9i7DLFP0AJGgO4PBhTK5tia+z277UslE9E=; b=ZhBbZbUvTwgAWOPo6P6UGi4mAb/13Upcnotv71V6ITs0YYCOSOlyhvi+rN8YqfxyIC r7hucYSaIwtkgjFJkKGh2Qe+zXS7IWQ6pJ3I11TXiUNK0gYdsKRgJPnTFdexnlwczP4/ hJuySzC5GM9a5+4QjNhFVyt2EmML+IsXG+ljwlfRvcwpmH2foa1tSo7ca69psTpfho7z Hqlyr54kzBdSilkAxGcIJbtR5BE39Ky7FIAJG9n146Pe43x+iRD9V7oqIwtyMwyGX9g7 deOynTtAKZIWEKu9Twrbn4t5HQWDc6vMwy8pwhm8PBe/T2JKqjDtKTPtAV/9TG1kRL45 NoKA==
X-Gm-Message-State AMke39n4rDPxN/XqA8u1mgKVJw4OyDshA6/rHpL1nF5YmFBVD+0l6zgWg+X0/VeeDqbnMQ==
X-Received by 10.28.4.216 with SMTP id 207mr18104825wme.45.1486579902355; Wed, 08 Feb 2017 10:51:42 -0800 (PST)
X-Mailer git-send-email 2.7.4
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 30
Organization linux.* mail to news gateway
X-Original-Cc Andrew Morton <akpm@linux-foundation.org>, Linus Torvalds <torvalds@linux-foundation.org>, Mike Galbraith <efault@gmx.de>, Oleg Nesterov <oleg@redhat.com>, Peter Zijlstra <peterz@infradead.org>, Thomas Gleixner <tglx@linutronix.de>
X-Original-Date Wed, 8 Feb 2017 19:50:53 +0100
X-Original-Message-ID <1486579887-18499-2-git-send-email-mingo@kernel.org>
X-Original-References <1486579887-18499-1-git-send-email-mingo@kernel.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1576927

Show key headers only | View raw


The <linux/sched/topology.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>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 include/linux/sched/topology.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/linux/sched/topology.h b/include/linux/sched/topology.h
index b3550b36e65d..0d6fceff37bb 100644
--- a/include/linux/sched/topology.h
+++ b/include/linux/sched/topology.h
@@ -1,8 +1,6 @@
 #ifndef _LINUX_SCHED_TOPOLOGY_H
 #define _LINUX_SCHED_TOPOLOGY_H
 
-#include <linux/sched.h>
-
 #include <linux/sched/idle.h>
 
 /*
-- 
2.7.4

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


Thread

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

csiph-web