diff options
Diffstat (limited to 'arch/s390/kernel/entry64.S')
-rw-r--r-- | arch/s390/kernel/entry64.S | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/s390/kernel/entry64.S b/arch/s390/kernel/entry64.S index a3e47b893f07..efde6e178f6c 100644 --- a/arch/s390/kernel/entry64.S +++ b/arch/s390/kernel/entry64.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> |
@@ -801,9 +802,7 @@ mcck_return: | |||
801 | * Restart interruption handler, kick starter for additional CPUs | 802 | * Restart interruption handler, kick starter for additional CPUs |
802 | */ | 803 | */ |
803 | #ifdef CONFIG_SMP | 804 | #ifdef CONFIG_SMP |
804 | #ifndef CONFIG_HOTPLUG_CPU | 805 | __CPUINIT |
805 | .section .init.text,"ax" | ||
806 | #endif | ||
807 | .globl restart_int_handler | 806 | .globl restart_int_handler |
808 | restart_int_handler: | 807 | restart_int_handler: |
809 | lg %r15,__LC_SAVE_AREA+120 # load ksp | 808 | lg %r15,__LC_SAVE_AREA+120 # load ksp |
@@ -814,9 +813,7 @@ restart_int_handler: | |||
814 | lmg %r6,%r15,__SF_GPRS(%r15) # load registers from clone | 813 | lmg %r6,%r15,__SF_GPRS(%r15) # load registers from clone |
815 | stosm __SF_EMPTY(%r15),0x04 # now we can turn dat on | 814 | stosm __SF_EMPTY(%r15),0x04 # now we can turn dat on |
816 | jg start_secondary | 815 | jg start_secondary |
817 | #ifndef CONFIG_HOTPLUG_CPU | ||
818 | .previous | 816 | .previous |
819 | #endif | ||
820 | #else | 817 | #else |
821 | /* | 818 | /* |
822 | * If we do not run with SMP enabled, let the new CPU crash ... | 819 | * If we do not run with SMP enabled, let the new CPU crash ... |