]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/2.6.19.2/sched-remove-__cpuinitdata-anotation-to-cpu_isolated_map.patch
Fixes for 4.19
[thirdparty/kernel/stable-queue.git] / releases / 2.6.19.2 / sched-remove-__cpuinitdata-anotation-to-cpu_isolated_map.patch
1 From linux-kernel-owner+chrisw=40sous-sol.org-S1751722AbWLMXRl@vger.kernel.org Wed Dec 13 15:23:21 2006
2 Date: Wed, 13 Dec 2006 14:17:58 -0800
3 From: Tim Chen <tim.c.chen@linux.intel.com>
4 To: linux-kernel@vger.kernel.org
5 Cc: suresh.b.siddha@intel.com
6 Subject: sched: remove __cpuinitdata anotation to cpu_isolated_map
7
8 The structure cpu_isolated_map is used not only during initialization.
9 Multi-core scheduler configuration changes and exclusive cpusets
10 use this during run time. During setting of sched_mc_power_savings
11 policy, this structure is accessed to update sched_domains.
12
13 Signed-off-by: Tim Chen <tim.c.chen@intel.com>
14 Acked-by: Suresh Siddha <suresh.b.siddha@intel.com>
15 Acked-by: Ingo Molnar <mingo@elte.hu>
16 Signed-off-by: Chris Wright <chrisw@sous-sol.org>
17 ---
18 kernel/sched.c | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21 --- linux-2.6.19.1.orig/kernel/sched.c
22 +++ linux-2.6.19.1/kernel/sched.c
23 @@ -5493,7 +5493,7 @@ static void cpu_attach_domain(struct sch
24 }
25
26 /* cpus with isolated domains */
27 -static cpumask_t __cpuinitdata cpu_isolated_map = CPU_MASK_NONE;
28 +static cpumask_t cpu_isolated_map = CPU_MASK_NONE;
29
30 /* Setup the mask of cpus configured for isolated domains */
31 static int __init isolated_cpu_setup(char *str)