patch-2.4.21 linux-2.4.21/arch/s390x/kernel/time.c

Next file: linux-2.4.21/arch/s390x/lib/uaccess.S
Previous file: linux-2.4.21/arch/s390x/kernel/smp.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/arch/s390x/kernel/time.c linux-2.4.21/arch/s390x/kernel/time.c
@@ -155,13 +155,13 @@
 {
 	unsigned long cr0;
 
+	S390_lowcore.jiffy_timer = (__u64) jiffies * CLK_TICKS_PER_JIFFY;
+	S390_lowcore.jiffy_timer += init_timer_cc + CLK_TICKS_PER_JIFFY;
+	asm volatile ("SCKC %0" : : "m" (S390_lowcore.jiffy_timer));
         /* allow clock comparator timer interrupt */
         asm volatile ("STCTG 0,0,%0" : "=m" (cr0) : : "memory");
         cr0 |= 0x800;
         asm volatile ("LCTLG 0,0,%0" : : "m" (cr0) : "memory");
-	S390_lowcore.jiffy_timer = (__u64) jiffies * CLK_TICKS_PER_JIFFY;
-	S390_lowcore.jiffy_timer += init_timer_cc + CLK_TICKS_PER_JIFFY;
-	asm volatile ("SCKC %0" : : "m" (S390_lowcore.jiffy_timer));
 }
 
 /*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)