diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2015-07-17 02:05:23 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2015-07-29 03:11:42 -0400 |
commit | e7f596de1973e9dd9b5dcd7cb00aeb040ab8c13c (patch) | |
tree | a2fa9cf34e1db69766546fd0be9a9c4b8a3469fb /arch/s390/kernel/smp.c | |
parent | 22362a0e23182d230527a5add690b4027860d7d3 (diff) |
s390/smp: add missing __init annotation to __smp_store_cpu_state()
Section mismatch in reference from the function __smp_store_cpu_state()
to the function .init.text:memblock_alloc()
The function __smp_store_cpu_state() references
the function __init memblock_alloc().
Reviewed-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/smp.c')
-rw-r--r-- | arch/s390/kernel/smp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/kernel/smp.c b/arch/s390/kernel/smp.c index 6f54c175f5c9..c6355e6f3fcc 100644 --- a/arch/s390/kernel/smp.c +++ b/arch/s390/kernel/smp.c | |||
@@ -532,8 +532,8 @@ EXPORT_SYMBOL(smp_ctl_clear_bit); | |||
532 | 532 | ||
533 | #ifdef CONFIG_CRASH_DUMP | 533 | #ifdef CONFIG_CRASH_DUMP |
534 | 534 | ||
535 | static void __smp_store_cpu_state(struct save_area_ext *sa_ext, u16 address, | 535 | static void __init __smp_store_cpu_state(struct save_area_ext *sa_ext, |
536 | int is_boot_cpu) | 536 | u16 address, int is_boot_cpu) |
537 | { | 537 | { |
538 | void *lc = (void *)(unsigned long) store_prefix(); | 538 | void *lc = (void *)(unsigned long) store_prefix(); |
539 | unsigned long vx_sa; | 539 | unsigned long vx_sa; |