diff options
author | Michael Holzheu <holzheu@linux.vnet.ibm.com> | 2012-05-21 18:11:29 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-05-23 17:06:52 +0200 |
commit | a34157031536c7961106e9787b4548f21b6d7891 (patch) | |
tree | e029c374fb57338c9f7be3f39db3baf27f6393e8 /arch/s390 | |
parent | s390/kdump: Use real mode for PSW restart and kexec (diff) | |
download | linux-a34157031536c7961106e9787b4548f21b6d7891.tar.xz linux-a34157031536c7961106e9787b4548f21b6d7891.zip |
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')
-rw-r--r-- | arch/s390/kernel/early.c | 2 |
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; |