aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/entry64.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/kernel/entry64.S')
-rw-r--r--arch/s390/kernel/entry64.S8
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/s390/kernel/entry64.S b/arch/s390/kernel/entry64.S
index 93745fd8f555..685f11faa4bc 100644
--- a/arch/s390/kernel/entry64.S
+++ b/arch/s390/kernel/entry64.S
@@ -745,10 +745,13 @@ mcck_return:
745#endif 745#endif
746 lpswe __LC_RETURN_MCCK_PSW # back to caller 746 lpswe __LC_RETURN_MCCK_PSW # back to caller
747 747
748#ifdef CONFIG_SMP
749/* 748/*
750 * Restart interruption handler, kick starter for additional CPUs 749 * Restart interruption handler, kick starter for additional CPUs
751 */ 750 */
751#ifdef CONFIG_SMP
752#ifndef CONFIG_HOTPLUG_CPU
753 .section .init.text,"ax"
754#endif
752 .globl restart_int_handler 755 .globl restart_int_handler
753restart_int_handler: 756restart_int_handler:
754 lg %r15,__LC_SAVE_AREA+120 # load ksp 757 lg %r15,__LC_SAVE_AREA+120 # load ksp
@@ -759,6 +762,9 @@ restart_int_handler:
759 lmg %r6,%r15,__SF_GPRS(%r15) # load registers from clone 762 lmg %r6,%r15,__SF_GPRS(%r15) # load registers from clone
760 stosm __SF_EMPTY(%r15),0x04 # now we can turn dat on 763 stosm __SF_EMPTY(%r15),0x04 # now we can turn dat on
761 jg start_secondary 764 jg start_secondary
765#ifndef CONFIG_HOTPLUG_CPU
766 .previous
767#endif
762#else 768#else
763/* 769/*
764 * If we do not run with SMP enabled, let the new CPU crash ... 770 * If we do not run with SMP enabled, let the new CPU crash ...