diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-02-05 10:50:40 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-02-05 10:50:56 -0500 |
commit | 2bc89b5ece48dc888734e8760ba5ad8566431912 (patch) | |
tree | a45eb094199323895f3a08892380382e60f9f7d0 /arch/s390/kernel/entry.S | |
parent | 37c5f719e71882b759fa8acbdd11d5ca3a7965bb (diff) |
[S390] Fix couple of section mismatches.
Fix couple of section mismatches. And since we touch the code
anyway change the IPL code to use C99 initializers.
Cc: Michael Holzheu <holzheu@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/entry.S')
-rw-r--r-- | arch/s390/kernel/entry.S | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/s390/kernel/entry.S b/arch/s390/kernel/entry.S index 1a6dac8df6f..6766e37fe8e 100644 --- a/arch/s390/kernel/entry.S +++ b/arch/s390/kernel/entry.S | |||
@@ -11,6 +11,7 @@ | |||
11 | 11 | ||
12 | #include <linux/sys.h> | 12 | #include <linux/sys.h> |
13 | #include <linux/linkage.h> | 13 | #include <linux/linkage.h> |
14 | #include <linux/init.h> | ||
14 | #include <asm/cache.h> | 15 | #include <asm/cache.h> |
15 | #include <asm/lowcore.h> | 16 | #include <asm/lowcore.h> |
16 | #include <asm/errno.h> | 17 | #include <asm/errno.h> |
@@ -830,9 +831,7 @@ mcck_return: | |||
830 | * Restart interruption handler, kick starter for additional CPUs | 831 | * Restart interruption handler, kick starter for additional CPUs |
831 | */ | 832 | */ |
832 | #ifdef CONFIG_SMP | 833 | #ifdef CONFIG_SMP |
833 | #ifndef CONFIG_HOTPLUG_CPU | 834 | __CPUINIT |
834 | .section .init.text,"ax" | ||
835 | #endif | ||
836 | .globl restart_int_handler | 835 | .globl restart_int_handler |
837 | restart_int_handler: | 836 | restart_int_handler: |
838 | l %r15,__LC_SAVE_AREA+60 # load ksp | 837 | l %r15,__LC_SAVE_AREA+60 # load ksp |
@@ -845,9 +844,7 @@ restart_int_handler: | |||
845 | br %r14 # branch to start_secondary | 844 | br %r14 # branch to start_secondary |
846 | restart_addr: | 845 | restart_addr: |
847 | .long start_secondary | 846 | .long start_secondary |
848 | #ifndef CONFIG_HOTPLUG_CPU | ||
849 | .previous | 847 | .previous |
850 | #endif | ||
851 | #else | 848 | #else |
852 | /* | 849 | /* |
853 | * If we do not run with SMP enabled, let the new CPU crash ... | 850 | * If we do not run with SMP enabled, let the new CPU crash ... |