]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/s390/kernel/time.c
[S390] fix initialization of stp
[linux-2.6-omap-h63xx.git] / arch / s390 / kernel / time.c
index 06acb1a18bbcb44458a8f04da85f00f54345ca1b..b94e9e3b694a2bd738cfc58d8fdcc9bbc5baa412 100644 (file)
@@ -1356,7 +1356,7 @@ static void __init stp_reset(void)
 
        stp_page = alloc_bootmem_pages(PAGE_SIZE);
        rc = chsc_sstpc(stp_page, STP_OP_CTRL, 0x0000);
-       if (rc == 1)
+       if (rc == 0)
                set_bit(CLOCK_SYNC_HAS_STP, &clock_sync_flags);
        else if (stp_online) {
                printk(KERN_WARNING "Running on non STP capable machine.\n");