[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

weird printk timestamps



Dear all,
I've noticed that printk has weird timestamps in 2.6.1[78] kernels on
all my UP2000+, PC164 and XP1000 boxes. It seems that some recent CPU
jiffies changes have not been ported to the alpha tree. My quick fix
(???) for the (otherwise nicely working - a big thanks!!) 2.6.17.1[13]
kernels was

************
--- include/linux/jiffies.h~	2006-06-18 03:49:35.000000000 +0200
+++ include/linux/jiffies.h	2006-12-01 11:30:32.000000000 +0100
@@ -119,7 +119,7 @@
  * Have the 32 bit jiffies value wrap 5 minutes after boot
  * so jiffies wrap bugs show up earlier.
  */
-#define INITIAL_JIFFIES ((unsigned long)(unsigned int) (-300*HZ))
+#define INITIAL_JIFFIES ((unsigned long)(unsigned int) (0*HZ))
 
 /*
  * Change timeval to jiffies, trying to avoid the
************

Any comments?!
    Oliver


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]