diff options
Diffstat (limited to 'arch/s390/kernel')
-rw-r--r-- | arch/s390/kernel/entry.S | 2 | ||||
-rw-r--r-- | arch/s390/kernel/setup.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/s390/kernel/entry.S b/arch/s390/kernel/entry.S index b2b2edc40eb1..1a6dac8df6fb 100644 --- a/arch/s390/kernel/entry.S +++ b/arch/s390/kernel/entry.S | |||
@@ -1079,8 +1079,10 @@ cleanup_io_leave_insn: | |||
1079 | .Lexecve_tail: .long execve_tail | 1079 | .Lexecve_tail: .long execve_tail |
1080 | .Ljump_table: .long pgm_check_table | 1080 | .Ljump_table: .long pgm_check_table |
1081 | .Lschedule: .long schedule | 1081 | .Lschedule: .long schedule |
1082 | #ifdef CONFIG_PREEMPT | ||
1082 | .Lpreempt_schedule_irq: | 1083 | .Lpreempt_schedule_irq: |
1083 | .long preempt_schedule_irq | 1084 | .long preempt_schedule_irq |
1085 | #endif | ||
1084 | .Ltrace: .long syscall_trace | 1086 | .Ltrace: .long syscall_trace |
1085 | .Lschedtail: .long schedule_tail | 1087 | .Lschedtail: .long schedule_tail |
1086 | .Lsysc_table: .long sys_call_table | 1088 | .Lsysc_table: .long sys_call_table |
diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c index 50f8f1e3760e..577aa7dd660e 100644 --- a/arch/s390/kernel/setup.c +++ b/arch/s390/kernel/setup.c | |||
@@ -486,9 +486,7 @@ static void setup_addressing_mode(void) | |||
486 | if (s390_noexec) { | 486 | if (s390_noexec) { |
487 | printk("S390 execute protection active, "); | 487 | printk("S390 execute protection active, "); |
488 | set_amode_and_uaccess(PSW_ASC_SECONDARY, PSW32_ASC_SECONDARY); | 488 | set_amode_and_uaccess(PSW_ASC_SECONDARY, PSW32_ASC_SECONDARY); |
489 | return; | 489 | } else if (switch_amode) { |
490 | } | ||
491 | if (switch_amode) { | ||
492 | printk("S390 address spaces switched, "); | 490 | printk("S390 address spaces switched, "); |
493 | set_amode_and_uaccess(PSW_ASC_PRIMARY, PSW32_ASC_PRIMARY); | 491 | set_amode_and_uaccess(PSW_ASC_PRIMARY, PSW32_ASC_PRIMARY); |
494 | } | 492 | } |