diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-04-17 09:46:12 +0400 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-04-17 09:47:01 +0400 |
commit | dbd70fb499952d0ba282f0159dafacfc31d50313 (patch) | |
tree | 317ff61d9a98e61f233ac88950f7d9a3d3067965 /arch/s390/kernel/smp.c | |
parent | 7b758389a29cb7f456ec2d27b7a08cb3cc4e1f1c (diff) | |
download | linux-dbd70fb499952d0ba282f0159dafacfc31d50313.tar.xz |
[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 { CPU_STATE_CONFIGURED, }; -#ifdef CONFIG_HOTPLUG_CPU -static DEFINE_MUTEX(smp_cpu_state_mutex); -#endif +DEFINE_MUTEX(smp_cpu_state_mutex); static int smp_cpu_state[NR_CPUS]; static DEFINE_PER_CPU(struct cpu, cpu_devices); |