aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2012-08-27 09:38:19 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2012-09-26 09:44:53 -0400
commit0d0e471b46d4ba1de4617d04cf071c6ae4a5df76 (patch)
treec33f39cea4cfbdf86029c2acd0ac2489a03d8e63 /arch/s390/include
parent7755d6b2c05bea032bf2470d771ad9b56e26015d (diff)
s390/smp: fix smp_find_processor_id() argument mismatch
For SMP and !SMP smp_find_processor_id() either takes a u16 or an unsigned int argument. Fix this so both versions take a u16. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include')
-rw-r--r--arch/s390/include/asm/smp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/include/asm/smp.h b/arch/s390/include/asm/smp.h
index ce26ac3cb162..da7dcd7edf8e 100644
--- a/arch/s390/include/asm/smp.h
+++ b/arch/s390/include/asm/smp.h
@@ -43,7 +43,7 @@ static inline void smp_call_online_cpu(void (*func)(void *), void *data)
43 func(data); 43 func(data);
44} 44}
45 45
46static inline int smp_find_processor_id(int address) { return 0; } 46static inline int smp_find_processor_id(u16 address) { return 0; }
47static inline int smp_store_status(int cpu) { return 0; } 47static inline int smp_store_status(int cpu) { return 0; }
48static inline int smp_vcpu_scheduled(int cpu) { return 1; } 48static inline int smp_vcpu_scheduled(int cpu) { return 1; }
49static inline void smp_yield_cpu(int cpu) { } 49static inline void smp_yield_cpu(int cpu) { }