OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa7c004
)
s390/kexec: Move early_pgm_check_handler() to text section
author
Michael Holzheu
<holzheu@linux.vnet.ibm.com>
Mon, 21 May 2012 16:11:29 +0000
(18:11 +0200)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Wed, 23 May 2012 15:06:52 +0000
(17:06 +0200)
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>
arch/s390/kernel/early.c
patch
|
blob
|
history
diff --git
a/arch/s390/kernel/early.c
b/arch/s390/kernel/early.c
index
d84181f
..
6684fff
100644
(file)
--- 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;