mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.6.25.4-rt6 doesn't build with RT_GROUP_SCHED && !SMP
@ 2008-06-14 21:10 Adam Sampson
  0 siblings, 0 replies; only message in thread
From: Adam Sampson @ 2008-06-14 21:10 UTC (permalink / raw)
  To: linux-kernel; +Cc: mingo, tglx

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/>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-06-14 21:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-14 21:10 2.6.25.4-rt6 doesn't build with RT_GROUP_SCHED && !SMP Adam Sampson

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®