summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2012-08-27 15:18:45 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2012-08-28 10:08:34 +0200
commit29a877fa1f402ce2c1a0c52957c4e29b9bb34216 (patch)
tree3ad6fc5a7b43edb27a94a66ffa7ebb484fb8421c
parent6b79d14e7a9f5d31b78bcd01a122f0c692e94a19 (diff)
downloadop-kernel-dev-29a877fa1f402ce2c1a0c52957c4e29b9bb34216.zip
op-kernel-dev-29a877fa1f402ce2c1a0c52957c4e29b9bb34216.tar.gz
s390/smp: add missing smp_store_status() for !SMP
Fix this compile error: arch/s390/kernel/machine_kexec.c: In function ‘setup_regs’: arch/s390/kernel/machine_kexec.c:63:3: error: implicit declaration of function ‘smp_store_status’ [-Werror=implicit-function-declaration] Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
-rw-r--r--arch/s390/include/asm/smp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/include/asm/smp.h b/arch/s390/include/asm/smp.h
index a0a8340..ce26ac3 100644
--- a/arch/s390/include/asm/smp.h
+++ b/arch/s390/include/asm/smp.h
@@ -44,6 +44,7 @@ static inline void smp_call_online_cpu(void (*func)(void *), void *data)
}
static inline int smp_find_processor_id(int 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) { }
static inline void smp_yield(void) { }
OpenPOWER on IntegriCloud