aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>2012-05-21 18:11:29 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2012-05-23 17:06:52 +0200
commita34157031536c7961106e9787b4548f21b6d7891 (patch)
treee029c374fb57338c9f7be3f39db3baf27f6393e8
parentfa7c0043425624ed65b94a6fabe750c7b0af8719 (diff)
downloadlinux-linaro-stable-a34157031536c7961106e9787b4548f21b6d7891.tar.gz
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 <holzheu@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
-rw-r--r--arch/s390/kernel/early.c2
1 files changed, 1 insertions, 1 deletions
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;