diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-04-17 01:46:12 -0400 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-04-17 01:47:01 -0400 |
commit | dbd70fb499952d0ba282f0159dafacfc31d50313 (patch) | |
tree | 317ff61d9a98e61f233ac88950f7d9a3d3067965 /arch/s390/kernel/smp.c | |
parent | 7b758389a29cb7f456ec2d27b7a08cb3cc4e1f1c (diff) |
[S390] cpu topology support for s390.
Add s390 backend so we can give the scheduler some hints about the
cpu topology.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/smp.c')
-rw-r--r-- | arch/s390/kernel/smp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/s390/kernel/smp.c b/arch/s390/kernel/smp.c index 8f894d380a62..5448aa87fa23 100644 --- a/arch/s390/kernel/smp.c +++ b/arch/s390/kernel/smp.c | |||
@@ -67,9 +67,7 @@ enum s390_cpu_state { | |||
67 | CPU_STATE_CONFIGURED, | 67 | CPU_STATE_CONFIGURED, |
68 | }; | 68 | }; |
69 | 69 | ||
70 | #ifdef CONFIG_HOTPLUG_CPU | 70 | DEFINE_MUTEX(smp_cpu_state_mutex); |
71 | static DEFINE_MUTEX(smp_cpu_state_mutex); | ||
72 | #endif | ||
73 | static int smp_cpu_state[NR_CPUS]; | 71 | static int smp_cpu_state[NR_CPUS]; |
74 | 72 | ||
75 | static DEFINE_PER_CPU(struct cpu, cpu_devices); | 73 | static DEFINE_PER_CPU(struct cpu, cpu_devices); |