Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1576961
| Path | csiph.com!1.us.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Ingo Molnar <mingo@kernel.org> |
| Newsgroups | linux.kernel |
| Subject | [PATCH 01/48] sched/headers: Prepare for new header dependencies before moving code to <linux/sched/topology.h> |
| Date | Wed, 08 Feb 2017 20:20:04 +0100 |
| Message-ID | <t8FWA-4iE-87@gated-at.bofh.it> (permalink) |
| References | <t8Ftw-3Sf-21@gated-at.bofh.it> |
| 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=uAz2+oZnvtaS8aK2vsXdd6Phgv8e4L4Z8JYeK8JxeeQ=; b=PxheIDGcDD07aKsjuuHRboOBbDAbzuoTOciCGTokgg6An/I6WGZDMJnFhxWJ2i+ltw bMWzTX0tKL7xvkE+PzufdnekG+i8NAmZj3SXjhl8xKqJp+HliSsbdNTHRUZaONowYxuj HiBjIgoSH0DqRElExZgFNzxHPmUFl/ys6cUtALbmsD2273YVpmaZUSqJvQL5A0JH66V4 Y6Yb4rQ2Yiteen8xZct8RLeNPS5EzjOu5/SevUjZWtYUwz4hCo0WCR8Wgj4gjNwrEkLB cQy+xiyez3r1yR/v14lQyD/XvqLC6X37OCfWPtdC/bdfXNb8OL6iliY0r6yopqP2SrZZ AIYg== |
| 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=uAz2+oZnvtaS8aK2vsXdd6Phgv8e4L4Z8JYeK8JxeeQ=; b=jPzBr9uFD0T/V/LjAOWm3rLzl7zC68zfUpiTDnVKUlUXjTyL2a/tUZBTur76hvP76t rpShpT78AUomazjJTdsrLlpipb/VFsgMhfKLn5Mj42OIvOmk4vrmIaknzSz3lXU8aweC yzTw3uZJ9iF0iyq2wgX8NogztBOGF51o1CnElvskzeWhpGJLg9RuGeqfjA5S+2r19e7s +PIZ1sfvWW/KMmq1QkDtfGRSlKWvmFMg1rE01ho2b+4/9V8eqwuQIz213oC9rWeM6RJr XeB3bJnt0l6A4FwAfwLYlVhcKKKVL3XY8XkisnAxCPjz9+BjOLYV7Ba8bgzTFjCEDLG7 oDMA== |
| X-Gm-Message-State | AMke39llgM1I7DQqKTYyXDt+UPB9g24expfefDC+xvlJ1UwTEbpQKTw2Efr3vZS3igOA+w== |
| X-Received | by 10.28.20.144 with SMTP id 138mr17921338wmu.41.1486579211476; Wed, 08 Feb 2017 10:40:11 -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 | 164 |
| 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:39:03 +0100 |
| X-Original-Message-ID | <1486579190-11717-2-git-send-email-mingo@kernel.org> |
| X-Original-References | <1486579190-11717-1-git-send-email-mingo@kernel.org> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1576961 |
Show key headers only | View raw
We are going to split <linux/sched/topology.h> out of <linux/sched.h>, which will have to be picked up from other headers and a couple of .c files. Create a trivial placeholder <linux/sched/topology.h> file that just maps to <linux/sched.h> to make this patch obviously correct and bisectable. Include the new header in the files that are going to need it. 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> --- arch/arm/kernel/topology.c | 1 + arch/arm64/kernel/topology.c | 1 + arch/powerpc/kernel/smp.c | 1 + arch/s390/kernel/topology.c | 1 + arch/x86/kernel/smpboot.c | 1 + block/blk-mq.c | 1 + block/blk-softirq.c | 1 + include/linux/cpuset.h | 1 + include/linux/sched/topology.h | 6 ++++++ kernel/sched/fair.c | 2 ++ kernel/sched/sched.h | 1 + 11 files changed, 17 insertions(+) diff --git a/arch/arm/kernel/topology.c b/arch/arm/kernel/topology.c index ebf47d91b804..f8a3ab82e77f 100644 --- a/arch/arm/kernel/topology.c +++ b/arch/arm/kernel/topology.c @@ -21,6 +21,7 @@ #include <linux/nodemask.h> #include <linux/of.h> #include <linux/sched.h> +#include <linux/sched/topology.h> #include <linux/slab.h> #include <linux/string.h> diff --git a/arch/arm64/kernel/topology.c b/arch/arm64/kernel/topology.c index 655e65f38f31..3aeb7bbb1bfc 100644 --- a/arch/arm64/kernel/topology.c +++ b/arch/arm64/kernel/topology.c @@ -20,6 +20,7 @@ #include <linux/nodemask.h> #include <linux/of.h> #include <linux/sched.h> +#include <linux/sched/topology.h> #include <linux/slab.h> #include <linux/string.h> #include <linux/cpufreq.h> diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c index b7d8f867742d..f40e2a5cf044 100644 --- a/arch/powerpc/kernel/smp.c +++ b/arch/powerpc/kernel/smp.c @@ -20,6 +20,7 @@ #include <linux/kernel.h> #include <linux/export.h> #include <linux/sched.h> +#include <linux/sched/topology.h> #include <linux/smp.h> #include <linux/interrupt.h> #include <linux/delay.h> diff --git a/arch/s390/kernel/topology.c b/arch/s390/kernel/topology.c index 93dcbae1e98d..044dec44ce8d 100644 --- a/arch/s390/kernel/topology.c +++ b/arch/s390/kernel/topology.c @@ -13,6 +13,7 @@ #include <linux/export.h> #include <linux/kernel.h> #include <linux/sched.h> +#include <linux/sched/topology.h> #include <linux/delay.h> #include <linux/init.h> #include <linux/slab.h> diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 46732dc3b73c..0fe89249d9ac 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c @@ -45,6 +45,7 @@ #include <linux/smp.h> #include <linux/export.h> #include <linux/sched.h> +#include <linux/sched/topology.h> #include <linux/percpu.h> #include <linux/bootmem.h> #include <linux/err.h> diff --git a/block/blk-mq.c b/block/blk-mq.c index c3400b5444a7..92bf48dac06f 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -20,6 +20,7 @@ #include <linux/cpu.h> #include <linux/cache.h> #include <linux/sched/sysctl.h> +#include <linux/sched/topology.h> #include <linux/delay.h> #include <linux/crash_dump.h> #include <linux/prefetch.h> diff --git a/block/blk-softirq.c b/block/blk-softirq.c index 06cf9807f49a..87b7df4851bf 100644 --- a/block/blk-softirq.c +++ b/block/blk-softirq.c @@ -9,6 +9,7 @@ #include <linux/interrupt.h> #include <linux/cpu.h> #include <linux/sched.h> +#include <linux/sched/topology.h> #include "blk.h" diff --git a/include/linux/cpuset.h b/include/linux/cpuset.h index bfc204e70338..c608c39cb161 100644 --- a/include/linux/cpuset.h +++ b/include/linux/cpuset.h @@ -9,6 +9,7 @@ */ #include <linux/sched.h> +#include <linux/sched/topology.h> #include <linux/cpumask.h> #include <linux/nodemask.h> #include <linux/mm.h> diff --git a/include/linux/sched/topology.h b/include/linux/sched/topology.h new file mode 100644 index 000000000000..4f1159f76f92 --- /dev/null +++ b/include/linux/sched/topology.h @@ -0,0 +1,6 @@ +#ifndef _LINUX_SCHED_TOPOLOGY_H +#define _LINUX_SCHED_TOPOLOGY_H + +#include <linux/sched.h> + +#endif /* _LINUX_SCHED_TOPOLOGY_H */ diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 3b60d73ab290..11e0ab57748a 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -21,6 +21,8 @@ */ #include <linux/sched.h> +#include <linux/sched/topology.h> + #include <linux/latencytop.h> #include <linux/cpumask.h> #include <linux/cpuidle.h> diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 71b10a9b73cf..9b9cb260d9cf 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -1,6 +1,7 @@ #include <linux/sched.h> #include <linux/sched/sysctl.h> +#include <linux/sched/topology.h> #include <linux/sched/rt.h> #include <linux/u64_stats_sync.h> #include <linux/sched/deadline.h> -- 2.7.4
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 01/48] sched/headers: Prepare for new header dependencies before moving code to <linux/sched/topology.h> Ingo Molnar <mingo@kernel.org> - 2017-02-08 20:20 +0100
csiph-web