From: Heiko Carstens Date: Mon, 27 Aug 2012 13:38:19 +0000 (+0200) Subject: s390/smp: fix smp_find_processor_id() argument mismatch X-Git-Tag: next-20120904~97^2~24 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=898e32c5175fab991ef11a8df471d505ef6d4fc0;p=karo-tx-linux.git 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 Signed-off-by: Martin Schwidefsky --- 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) func(data); } -static inline int smp_find_processor_id(int address) { return 0; } +static inline int smp_find_processor_id(u16 address) { return 0; } static inline int smp_store_status(int cpu) { return 0; } static inline int smp_vcpu_scheduled(int cpu) { return 1; } static inline void smp_yield_cpu(int cpu) { }