diff options
Diffstat (limited to 'arch/s390/kernel/time.c')
| -rw-r--r-- | arch/s390/kernel/time.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/s390/kernel/time.c b/arch/s390/kernel/time.c index ab70d9bd9261..06acb1a18bbc 100644 --- a/arch/s390/kernel/time.c +++ b/arch/s390/kernel/time.c | |||
| @@ -169,6 +169,8 @@ void init_cpu_timer(void) | |||
| 169 | 169 | ||
| 170 | static void clock_comparator_interrupt(__u16 code) | 170 | static void clock_comparator_interrupt(__u16 code) |
| 171 | { | 171 | { |
| 172 | if (S390_lowcore.clock_comparator == -1ULL) | ||
| 173 | set_clock_comparator(S390_lowcore.clock_comparator); | ||
| 172 | } | 174 | } |
| 173 | 175 | ||
| 174 | static void etr_timing_alert(struct etr_irq_parm *); | 176 | static void etr_timing_alert(struct etr_irq_parm *); |
| @@ -1348,7 +1350,7 @@ early_param("stp", early_parse_stp); | |||
| 1348 | /* | 1350 | /* |
| 1349 | * Reset STP attachment. | 1351 | * Reset STP attachment. |
| 1350 | */ | 1352 | */ |
| 1351 | static void stp_reset(void) | 1353 | static void __init stp_reset(void) |
| 1352 | { | 1354 | { |
| 1353 | int rc; | 1355 | int rc; |
| 1354 | 1356 | ||
