From: Michael Holzheu Date: Mon, 21 May 2012 16:11:29 +0000 (+0200) Subject: s390/kexec: Move early_pgm_check_handler() to text section X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a34157031536c7961106e9787b4548f21b6d7891;p=linux-beck.git s390/kexec: Move early_pgm_check_handler() to text section The early_pgm_check_handler() function is also used after the init phase in s390_reset_system(). Therefore it must not be in the init section. Signed-off-by: Michael Holzheu Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/kernel/early.c b/arch/s390/kernel/early.c index d84181f1f5e8..6684fff17558 100644 --- a/arch/s390/kernel/early.c +++ b/arch/s390/kernel/early.c @@ -237,7 +237,7 @@ static noinline __init void detect_machine_type(void) S390_lowcore.machine_flags |= MACHINE_FLAG_VM; } -static __init void early_pgm_check_handler(void) +static void early_pgm_check_handler(void) { unsigned long addr; const struct exception_table_entry *fixup;