From: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> To: Peter Zijlstra <peterz@infradead.org>, Martin Schwidefsky <schwidefsky@de.ibm.com> Cc: Steven Rostedt <rostedt@goodmis.org>, Petr Mladek <pmladek@suse.com>, LKML <linux-kernel@vger.kernel.org>, linux-pm@vger.kernel.org, linux-pci@vger.kernel.org, linux-mm@kvack.org, Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>, Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Subject: [PATCH] sched/autogroup: move sched.h include Date: Fri, 8 Dec 2017 17:24:22 +0900 [thread overview] Message-ID: <20171208082422.5021-1-sergey.senozhatsky@gmail.com> (raw) In-Reply-To: <20171208025616.16267-2-sergey.senozhatsky@gmail.com> Move local "sched.h" include to the bottom. sched.h defines several macros that are getting redefined in ARCH-specific code, for instance, finish_arch_post_lock_switch() and prepare_arch_switch(), so we need ARCH-specific definitions to come in first. Suggested-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> --- kernel/sched/autogroup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/autogroup.c b/kernel/sched/autogroup.c index 0786227a3f48..bb4b9fe026a1 100644 --- a/kernel/sched/autogroup.c +++ b/kernel/sched/autogroup.c @@ -1,12 +1,12 @@ // SPDX-License-Identifier: GPL-2.0 -#include "sched.h" - #include <linux/proc_fs.h> #include <linux/seq_file.h> #include <linux/utsname.h> #include <linux/security.h> #include <linux/export.h> +#include "sched.h" + unsigned int __read_mostly sysctl_sched_autogroup_enabled = 1; static struct autogroup autogroup_default; static atomic_t autogroup_seq_nr; -- 2.15.1
WARNING: multiple messages have this Message-ID (diff)
From: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> To: Peter Zijlstra <peterz@infradead.org>, Martin Schwidefsky <schwidefsky@de.ibm.com> Cc: Steven Rostedt <rostedt@goodmis.org>, Petr Mladek <pmladek@suse.com>, LKML <linux-kernel@vger.kernel.org>, linux-pm@vger.kernel.org, linux-pci@vger.kernel.org, linux-mm@kvack.org, Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>, Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Subject: [PATCH] sched/autogroup: move sched.h include Date: Fri, 8 Dec 2017 17:24:22 +0900 [thread overview] Message-ID: <20171208082422.5021-1-sergey.senozhatsky@gmail.com> (raw) In-Reply-To: <20171208025616.16267-2-sergey.senozhatsky@gmail.com> Move local "sched.h" include to the bottom. sched.h defines several macros that are getting redefined in ARCH-specific code, for instance, finish_arch_post_lock_switch() and prepare_arch_switch(), so we need ARCH-specific definitions to come in first. Suggested-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> --- kernel/sched/autogroup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/autogroup.c b/kernel/sched/autogroup.c index 0786227a3f48..bb4b9fe026a1 100644 --- a/kernel/sched/autogroup.c +++ b/kernel/sched/autogroup.c @@ -1,12 +1,12 @@ // SPDX-License-Identifier: GPL-2.0 -#include "sched.h" - #include <linux/proc_fs.h> #include <linux/seq_file.h> #include <linux/utsname.h> #include <linux/security.h> #include <linux/export.h> +#include "sched.h" + unsigned int __read_mostly sysctl_sched_autogroup_enabled = 1; static struct autogroup autogroup_default; static atomic_t autogroup_seq_nr; -- 2.15.1 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2017-12-08 8:24 UTC|newest] Thread overview: 60+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-12-08 2:56 [PATCH 0/9] remove some of unneeded kallsyms includes Sergey Senozhatsky 2017-12-08 2:56 ` Sergey Senozhatsky 2017-12-08 2:56 ` [PATCH 1/9] sched/autogroup: remove unneeded kallsyms include Sergey Senozhatsky 2017-12-08 2:56 ` Sergey Senozhatsky 2017-12-08 8:24 ` Sergey Senozhatsky [this message] 2017-12-08 8:24 ` [PATCH] sched/autogroup: move sched.h include Sergey Senozhatsky 2017-12-08 8:57 ` Petr Mladek 2017-12-08 8:57 ` Petr Mladek 2017-12-08 10:39 ` Sergey Senozhatsky 2017-12-08 10:39 ` Sergey Senozhatsky 2017-12-08 10:56 ` Peter Zijlstra 2017-12-08 10:56 ` Peter Zijlstra 2017-12-08 10:56 ` [PATCH 1/9] sched/autogroup: remove unneeded kallsyms include Peter Zijlstra 2017-12-08 10:56 ` Peter Zijlstra 2017-12-08 11:20 ` Sergey Senozhatsky 2017-12-08 11:20 ` Sergey Senozhatsky 2017-12-08 13:43 ` Petr Mladek 2017-12-08 13:43 ` Petr Mladek 2017-12-08 2:56 ` [PATCH 2/9] mm: " Sergey Senozhatsky 2017-12-08 2:56 ` Sergey Senozhatsky 2017-12-08 2:56 ` [PATCH 3/9] power: " Sergey Senozhatsky 2017-12-08 2:56 ` Sergey Senozhatsky 2017-12-08 14:01 ` Rafael J. Wysocki 2017-12-08 14:01 ` Rafael J. Wysocki 2017-12-08 14:48 ` Sergey Senozhatsky 2017-12-08 14:48 ` Sergey Senozhatsky 2017-12-17 18:04 ` Rafael J. Wysocki 2017-12-17 18:04 ` Rafael J. Wysocki 2017-12-18 14:37 ` Sergey Senozhatsky 2017-12-18 14:37 ` Sergey Senozhatsky 2017-12-08 2:56 ` [PATCH 4/9] pci: " Sergey Senozhatsky 2017-12-08 2:56 ` Sergey Senozhatsky 2017-12-08 17:53 ` Bjorn Helgaas 2017-12-08 17:53 ` Bjorn Helgaas 2017-12-08 23:55 ` Sergey Senozhatsky 2017-12-08 23:55 ` Sergey Senozhatsky 2017-12-08 2:56 ` [PATCH 5/9] pnp: " Sergey Senozhatsky 2017-12-08 2:56 ` Sergey Senozhatsky 2017-12-08 14:02 ` Rafael J. Wysocki 2017-12-08 14:02 ` Rafael J. Wysocki 2017-12-08 14:49 ` Sergey Senozhatsky 2017-12-08 14:49 ` Sergey Senozhatsky 2017-12-17 18:04 ` Rafael J. Wysocki 2017-12-17 18:04 ` Rafael J. Wysocki 2017-12-08 2:56 ` [PATCH 6/9] mm: " Sergey Senozhatsky 2017-12-08 2:56 ` Sergey Senozhatsky 2017-12-08 2:56 ` [PATCH 7/9] workqueue: " Sergey Senozhatsky 2017-12-08 2:56 ` Sergey Senozhatsky 2017-12-11 15:16 ` Tejun Heo 2017-12-11 15:16 ` Tejun Heo 2017-12-12 2:51 ` Sergey Senozhatsky 2017-12-12 2:51 ` Sergey Senozhatsky 2017-12-08 2:56 ` [PATCH 8/9] hrtimer: " Sergey Senozhatsky 2017-12-08 2:56 ` Sergey Senozhatsky 2017-12-08 2:56 ` [PATCH 9/9] genirq: " Sergey Senozhatsky 2017-12-08 2:56 ` Sergey Senozhatsky 2017-12-08 22:24 ` [PATCH 0/9] remove some of unneeded kallsyms includes Andrew Morton 2017-12-08 22:24 ` Andrew Morton 2017-12-09 0:00 ` Sergey Senozhatsky 2017-12-09 0:00 ` Sergey Senozhatsky
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=20171208082422.5021-1-sergey.senozhatsky@gmail.com \ --to=sergey.senozhatsky.work@gmail.com \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-mm@kvack.org \ --cc=linux-pci@vger.kernel.org \ --cc=linux-pm@vger.kernel.org \ --cc=peterz@infradead.org \ --cc=pmladek@suse.com \ --cc=rostedt@goodmis.org \ --cc=schwidefsky@de.ibm.com \ --cc=sergey.senozhatsky@gmail.com \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.