diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-12-25 07:37:59 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-12-25 07:38:07 -0500 |
commit | f414f5f15376764d68a31dc568d9e814d3fcb58a (patch) | |
tree | a8098a2f40750cd1590b7555714b3a296d2ae5a7 /arch/s390/kernel/topology.c | |
parent | 8f2961c39eacd5d450048d8a3e91675486f3a015 (diff) |
[S390] cpu topology: dont destroy cpu sets on topology change
Call rebuild_sched_domains instead of arch_reinit_sched_domains if
cpu topology changes. This leaves cpu sets alone which otherwise would
be destroyed.
If and how it makes sense to define cpu sets on a virtualized
architecture is another question.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/topology.c')
-rw-r--r-- | arch/s390/kernel/topology.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/s390/kernel/topology.c b/arch/s390/kernel/topology.c index 586c5e33b3f4..36faac50e774 100644 --- a/arch/s390/kernel/topology.c +++ b/arch/s390/kernel/topology.c | |||
@@ -12,6 +12,7 @@ | |||
12 | #include <linux/workqueue.h> | 12 | #include <linux/workqueue.h> |
13 | #include <linux/cpu.h> | 13 | #include <linux/cpu.h> |
14 | #include <linux/smp.h> | 14 | #include <linux/smp.h> |
15 | #include <linux/cpuset.h> | ||
15 | #include <asm/delay.h> | 16 | #include <asm/delay.h> |
16 | #include <asm/s390_ext.h> | 17 | #include <asm/s390_ext.h> |
17 | #include <asm/sysinfo.h> | 18 | #include <asm/sysinfo.h> |
@@ -234,7 +235,7 @@ void arch_update_cpu_topology(void) | |||
234 | 235 | ||
235 | static void topology_work_fn(struct work_struct *work) | 236 | static void topology_work_fn(struct work_struct *work) |
236 | { | 237 | { |
237 | arch_reinit_sched_domains(); | 238 | rebuild_sched_domains(); |
238 | } | 239 | } |
239 | 240 | ||
240 | void topology_schedule_update(void) | 241 | void topology_schedule_update(void) |