From: Adam Sampson <ats@offog.org>
To: linux-kernel@vger.kernel.org
Cc: mingo@elte.hu, tglx@linutronix.de
Subject: 2.6.25.4-rt6 doesn't build with RT_GROUP_SCHED && !SMP
Date: Sat, 14 Jun 2008 22:10:11 +0100 [thread overview]
Message-ID: <20080614211007.GA2229@cartman.at.offog.org> (raw)
Hi,
The RT-patched kernel 2.6.25.4-rt6 doesn't build if you've turned on
group scheduling but not SMP, owing to this bit of code in
kernel/sched_rt.c:
#if defined CONFIG_SMP || defined CONFIG_RT_GROUP_SCHED
if (rt_se_prio(rt_se) < rt_rq->highest_prio) {
struct rq *rq = rq_of_rt_rq(rt_rq);
rt_rq->highest_prio = rt_se_prio(rt_se);
if (rq->online)
cpupri_set(&rq->rd->cpupri, rq->cpu,
rt_se_prio(rt_se));
}
#endif
struct rq only has "cpu" and "online" elements if CONFIG_SMP is enabled.
My full config is here: http://offog.org/stuff/config-2.6.25
Thanks,
--
Adam Sampson <ats@offog.org> <http://offog.org/>
reply other threads:[~2008-06-14 21:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20080614211007.GA2229@cartman.at.offog.org \
--to=ats@offog.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
/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®