s390/smp: add missing __init annotation to __smp_store_cpu_state()
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 17 Jul 2015 06:05:23 +0000 (08:05 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 29 Jul 2015 07:11:42 +0000 (09:11 +0200)
 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>
arch/s390/kernel/smp.c

index 6f54c175f5c9012b5cc00f28d3d793c2bfc56ec5..c6355e6f3fcc990c98bdd4f80dfd1a8ac78a0e0b 100644 (file)
@@ -532,8 +532,8 @@ EXPORT_SYMBOL(smp_ctl_clear_bit);
 
 #ifdef CONFIG_CRASH_DUMP
 
-static void __smp_store_cpu_state(struct save_area_ext *sa_ext, u16 address,
-                                 int is_boot_cpu)
+static void __init __smp_store_cpu_state(struct save_area_ext *sa_ext,
+                                        u16 address, int is_boot_cpu)
 {
        void *lc = (void *)(unsigned long) store_prefix();
        unsigned long vx_sa;