From: Tim Chen Date: Fri, 22 Dec 2006 09:07:50 +0000 (-0800) Subject: [PATCH] sched: remove __cpuinitdata anotation to cpu_isolated_map X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=67af63a6ab4ce064f807bdce614fe0fa2bcea252;p=openwrt%2Fstaging%2Fblogic.git [PATCH] sched: remove __cpuinitdata anotation to cpu_isolated_map 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 Acked-by: Suresh Siddha Acked-by: Ingo Molnar Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/sched.c b/kernel/sched.c index 850bde4b31a2..b515e3caad7f 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -5610,7 +5610,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)