We compile less with cpupri delinked.

--- a/kernel/sched/Makefile     Tue Jul 10 20:51:54 2012
+++ b/kernel/sched/Makefile     Tue Jul 10 20:51:52 2012
@@ -17,8 +17,8 @@ else
 obj-y += core.o clock.o idle_task.o fair.o rt.o stop_task.o
 obj-$(CONFIG_SCHED_AUTOGROUP) += auto_group.o
 obj-$(CONFIG_SCHED_DEBUG) += debug.o
-endif
 obj-$(CONFIG_SMP) += cpupri.o
+endif
 obj-$(CONFIG_SCHEDSTATS) += stats.o


--- a/kernel/sched/bfs.c        Mon Jul  9 20:10:14 2012
+++ b/kernel/sched/bfs.c        Tue Jul 10 20:49:58 2012
@@ -76,7 +76,6 @@
 #include <asm/paravirt.h>
 #endif

-#include "cpupri.h"
 #include "../workqueue_sched.h"

 #define CREATE_TRACE_POINTS
@@ -223,7 +222,6 @@ struct root_domain {
         * one runnable RT task.
         */
        cpumask_var_t rto_mask;
-       struct cpupri cpupri;
 };

 /*
@@ -5591,7 +5589,6 @@ static void free_rootdomain(struct rcu_h
 {
        struct root_domain *rd = container_of(rcu, struct root_domain, rcu);

-       cpupri_cleanup(&rd->cpupri);
        free_cpumask_var(rd->rto_mask);
        free_cpumask_var(rd->online);
        free_cpumask_var(rd->span);
@@ -5646,12 +5643,8 @@ static int init_rootdomain(struct root_d
        if (!alloc_cpumask_var(&rd->rto_mask, GFP_KERNEL))
                goto free_online;

-       if (cpupri_init(&rd->cpupri) != 0)
-               goto free_rto_mask;
        return 0;

-free_rto_mask:
-       free_cpumask_var(rd->rto_mask);
 free_online:
        free_cpumask_var(rd->online);
 free_span:
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to