]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
cpuinitdata fix from Tim Chen (fwd from Ingo)
authorChris Wright <chrisw@sous-sol.org>
Fri, 15 Dec 2006 01:53:21 +0000 (17:53 -0800)
committerChris Wright <chrisw@sous-sol.org>
Fri, 15 Dec 2006 01:53:21 +0000 (17:53 -0800)
queue-2.6.19/sched-remove-__cpuinitdata-anotation-to-cpu_isolated_map.patch [new file with mode: 0644]
queue-2.6.19/series

diff --git a/queue-2.6.19/sched-remove-__cpuinitdata-anotation-to-cpu_isolated_map.patch b/queue-2.6.19/sched-remove-__cpuinitdata-anotation-to-cpu_isolated_map.patch
new file mode 100644 (file)
index 0000000..b10f722
--- /dev/null
@@ -0,0 +1,31 @@
+From linux-kernel-owner+chrisw=40sous-sol.org-S1751722AbWLMXRl@vger.kernel.org  Wed Dec 13 15:23:21 2006
+Date:  Wed, 13 Dec 2006 14:17:58 -0800
+From: Tim Chen <tim.c.chen@linux.intel.com>
+To: linux-kernel@vger.kernel.org
+Cc: suresh.b.siddha@intel.com
+Subject: 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 <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 |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- linux-2.6.19.1.orig/kernel/sched.c
++++ linux-2.6.19.1/kernel/sched.c
+@@ -5493,7 +5493,7 @@ static void cpu_attach_domain(struct sch
+ }
+ /* 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)
index 8248982f78d3c6b793726b95eb6f54b0872c9476..0416155c44563b9707d27bf68ac83145983d12cc 100644 (file)
@@ -11,3 +11,4 @@ libata-handle-0xff-status-properly.patch
 ieee1394-ohci1394-add-ppc_pmac-platform-code-to-driver-probe.patch
 kbuild-don-t-put-temp-files-in-source.patch
 arm-add-sys_-at-syscalls.patch
+sched-remove-__cpuinitdata-anotation-to-cpu_isolated_map.patch