]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[PATCH] sched: remove __cpuinitdata anotation to cpu_isolated_map
authorTim Chen <tim.c.chen@linux.intel.com>
Wed, 13 Dec 2006 22:17:58 +0000 (14:17 -0800)
committerChris Wright <chrisw@sous-sol.org>
Wed, 10 Jan 2007 19:05:18 +0000 (11:05 -0800)
The structure cpu_isolated_map is used not only during initialization.
Multi-core scheduler configuration changes and exclusive cpusets
use this during run time.  During setting of sched_mc_power_savings
 policy, this structure is accessed to update sched_domains.

Signed-off-by: Tim Chen <tim.c.chen@intel.com>
Acked-by: Suresh Siddha <suresh.b.siddha@intel.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
kernel/sched.c

index 3399701c680e392f46e21829cee8da0bf5482303..a7aeb71140a6cf5b1231ce770382f94dd0a4ee75 100644 (file)
@@ -5493,7 +5493,7 @@ static void cpu_attach_domain(struct sched_domain *sd, int cpu)
 }
 
 /* cpus with isolated domains */
-static cpumask_t __cpuinitdata cpu_isolated_map = CPU_MASK_NONE;
+static cpumask_t cpu_isolated_map = CPU_MASK_NONE;
 
 /* Setup the mask of cpus configured for isolated domains */
 static int __init isolated_cpu_setup(char *str)