diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2010-01-13 20:44:37 +0100 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2010-01-13 20:44:45 +0100 |
commit | fb380aadfe34e8d3ce628cb3e386882351940874 (patch) | |
tree | 2607a2f3ee9732516d01a2e5083fbea0476491bb /arch/s390/lib | |
parent | 957a37ad587f3ef1022f1fe434d818cbed38eb95 (diff) | |
download | linux-stable-fb380aadfe34e8d3ce628cb3e386882351940874.tar.gz linux-stable-fb380aadfe34e8d3ce628cb3e386882351940874.tar.bz2 linux-stable-fb380aadfe34e8d3ce628cb3e386882351940874.zip |
[S390] Move __cpu_logical_map to smp.c
Finally move it to the place where it belongs to and make get rid of
it for !CONFIG_SMP.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/lib')
-rw-r--r-- | arch/s390/lib/spinlock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/lib/spinlock.c b/arch/s390/lib/spinlock.c index 10754a375668..cff327f109a8 100644 --- a/arch/s390/lib/spinlock.c +++ b/arch/s390/lib/spinlock.c @@ -34,7 +34,7 @@ static inline void _raw_yield_cpu(int cpu) { if (MACHINE_HAS_DIAG9C) asm volatile("diag %0,0,0x9c" - : : "d" (__cpu_logical_map[cpu])); + : : "d" (cpu_logical_map(cpu))); else _raw_yield(); } |