diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2008-10-13 12:13:56 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2008-10-13 12:13:56 -0400 |
commit | e758936e02700ff88a0b08b722a3847b95283ef2 (patch) | |
tree | 50c919bef1b459a778b85159d5929de95b6c4a01 /arch/s390/kernel/time.c | |
parent | 239cfbde1f5843c4a24199f117d5f67f637d72d5 (diff) | |
parent | 4480f15b3306f43bbb0310d461142b4e897ca45b (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts:
include/asm-x86/statfs.h
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 ca114fe46ffb..b94e9e3b694a 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 *); |
@@ -1354,7 +1356,7 @@ static void __init stp_reset(void) | |||
1354 | 1356 | ||
1355 | stp_page = alloc_bootmem_pages(PAGE_SIZE); | 1357 | stp_page = alloc_bootmem_pages(PAGE_SIZE); |
1356 | rc = chsc_sstpc(stp_page, STP_OP_CTRL, 0x0000); | 1358 | rc = chsc_sstpc(stp_page, STP_OP_CTRL, 0x0000); |
1357 | if (rc == 1) | 1359 | if (rc == 0) |
1358 | set_bit(CLOCK_SYNC_HAS_STP, &clock_sync_flags); | 1360 | set_bit(CLOCK_SYNC_HAS_STP, &clock_sync_flags); |
1359 | else if (stp_online) { | 1361 | else if (stp_online) { |
1360 | printk(KERN_WARNING "Running on non STP capable machine.\n"); | 1362 | printk(KERN_WARNING "Running on non STP capable machine.\n"); |