projects/linux·commit 67af63a6

[PATCH] sched: remove __cpuinitdata anotation to cpu_isolated_map

67af63a6 · Tim Chen <[email protected]> · 2006-12-22 01:07:50 -08:00

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 <[email protected]>
Acked-by: Suresh Siddha <[email protected]>
Acked-by: Ingo Molnar <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
67af63a6ab4ce064f807bdce614fe0fa2bcea252
Parents
132e2bc3

Changes

1 files changed · +1 −1

FileStatusAddDelContent
kernel/sched.cmodified+1−1View file

kernel/sched.c

View file
diff --git a/kernel/sched.c b/kernel/sched.c
index 850bde4..b515e3c 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)