Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e7f596de authored by Heiko Carstens's avatar Heiko Carstens Committed by Martin Schwidefsky
Browse files

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: default avatarMichael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 22362a0e
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -532,8 +532,8 @@ EXPORT_SYMBOL(smp_ctl_clear_bit);


#ifdef CONFIG_CRASH_DUMP
#ifdef CONFIG_CRASH_DUMP


static void __smp_store_cpu_state(struct save_area_ext *sa_ext, u16 address,
static void __init __smp_store_cpu_state(struct save_area_ext *sa_ext,
				  int is_boot_cpu)
					 u16 address, int is_boot_cpu)
{
{
	void *lc = (void *)(unsigned long) store_prefix();
	void *lc = (void *)(unsigned long) store_prefix();
	unsigned long vx_sa;
	unsigned long vx_sa;