From: Steven Rostedt <rostedt@goodmis.org>
To: "pang.xunlei" <pang.xunlei@linaro.org>
Cc: linux-kernel@vger.kernel.org, Ingo Molnar <mingo@redhat.com>,
Peter Zijlstra <peterz@infradead.org>,
Juri Lelli <juri.lelli@gmail.com>
Subject: Re: [PATCH v2 3/6] sched/cpupri: Remove unnecessary definitions in cpupri.h
Date: Tue, 4 Nov 2014 09:39:13 -0500 [thread overview]
Message-ID: <20141104093913.392d2ed2@gandalf.local.home> (raw)
In-Reply-To: <1415099585-31174-3-git-send-email-pang.xunlei@linaro.org>
On Tue, 4 Nov 2014 19:13:02 +0800
"pang.xunlei" <pang.xunlei@linaro.org> wrote:
> Actually, cpupri_set() and cpupri_init() can never be used without
> CONFIG_SMP.
>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
-- Steve
> Signed-off-by: pang.xunlei <pang.xunlei@linaro.org>
> ---
> kernel/sched/cpupri.h | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/kernel/sched/cpupri.h b/kernel/sched/cpupri.h
> index 6b03334..63cbb9c 100644
> --- a/kernel/sched/cpupri.h
> +++ b/kernel/sched/cpupri.h
> @@ -26,9 +26,6 @@ int cpupri_find(struct cpupri *cp,
> void cpupri_set(struct cpupri *cp, int cpu, int pri);
> int cpupri_init(struct cpupri *cp);
> void cpupri_cleanup(struct cpupri *cp);
> -#else
> -#define cpupri_set(cp, cpu, pri) do { } while (0)
> -#define cpupri_init() do { } while (0)
> #endif
>
> #endif /* _LINUX_CPUPRI_H */
next prev parent reply other threads:[~2014-11-04 14:39 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-04 11:13 [PATCH v2 1/6] sched/cpupri: Deal with cpupri.pri_to_cpu[CPUPRI_IDLE] for idle cases pang.xunlei
2014-11-04 11:13 ` [PATCH v2 2/6] sched/rt: Optimize select_task_rq_rt() for non-RT curr task pang.xunlei
2014-11-04 12:52 ` Steven Rostedt
2014-11-04 14:29 ` pang.xunlei
2014-11-04 14:47 ` Steven Rostedt
2014-11-04 15:09 ` pang.xunlei
2014-11-04 11:13 ` [PATCH v2 3/6] sched/cpupri: Remove unnecessary definitions in cpupri.h pang.xunlei
2014-11-04 14:39 ` Steven Rostedt [this message]
2014-11-04 11:13 ` [PATCH v2 4/6] sched/dl: Modify cpudl_find() for more cases of electing best_cpu pang.xunlei
2014-11-04 11:13 ` [PATCH v2 5/6] sched/dl: Optimize select_task_rq_dl() for non-DL curr task pang.xunlei
2014-11-04 11:24 ` Wanpeng Li
2014-11-04 14:19 ` pang.xunlei
2014-11-04 23:30 ` Wanpeng Li
2014-11-04 14:45 ` Steven Rostedt
2014-11-04 15:11 ` Peter Zijlstra
2014-11-04 23:33 ` Wanpeng Li
2014-11-04 11:13 ` [PATCH v2 6/6] sched/dl: Remove unnecessary definitions in cpudeadline.h pang.xunlei
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=20141104093913.392d2ed2@gandalf.local.home \
--to=rostedt@goodmis.org \
--cc=juri.lelli@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=pang.xunlei@linaro.org \
--cc=peterz@infradead.org \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®