Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: oliver.heid at siemens.com (Heid, Oliver)
Subject: weird printk timestamps
Date: Fri, 1 Dec 2006 11:37:53 +0100	[thread overview]
Message-ID: <1AB3B76EE8C0614FADF6C41157ABFB5405EC02B8@ERLM863A.ww001.siemens.net> (raw)
In-Reply-To: <4559F5D8.8070809@solvo.ru>

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



  reply	other threads:[~2006-12-01 10:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-14 13:22 Java has gone public sources - once again gatgul
2006-11-14 14:51 ` tsv
2006-11-14 15:49   ` gatgul
2006-11-14 16:59     ` tsv
2006-12-01 10:37       ` oliver.heid [this message]
2006-12-01 11:03         ` weird printk timestamps tsv
2006-12-01 11:23           ` oliver.heid
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox