aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel
diff options
context:
space:
mode:
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>2012-05-21 12:11:29 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2012-05-23 11:06:52 -0400
commita34157031536c7961106e9787b4548f21b6d7891 (patch)
treee029c374fb57338c9f7be3f39db3baf27f6393e8 /arch/s390/kernel
parentfa7c0043425624ed65b94a6fabe750c7b0af8719 (diff)
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>
Diffstat (limited to 'arch/s390/kernel')
-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 d84181f1f5e..6684fff1755 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)
237 S390_lowcore.machine_flags |= MACHINE_FLAG_VM; 237 S390_lowcore.machine_flags |= MACHINE_FLAG_VM;
238} 238}
239 239
240static __init void early_pgm_check_handler(void) 240static void early_pgm_check_handler(void)
241{ 241{
242 unsigned long addr; 242 unsigned long addr;
243 const struct exception_table_entry *fixup; 243 const struct exception_table_entry *fixup;