diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2010-01-13 22:44:37 +0300 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2010-01-13 22:44:45 +0300 |
commit | fb380aadfe34e8d3ce628cb3e386882351940874 (patch) | |
tree | 2607a2f3ee9732516d01a2e5083fbea0476491bb /arch/s390/lib | |
parent | 957a37ad587f3ef1022f1fe434d818cbed38eb95 (diff) | |
download | linux-fb380aadfe34e8d3ce628cb3e386882351940874.tar.xz |
[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(); } |