lkml.org 
[lkml]   [2003]   [Apr]   [9]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
Patch in this message
/
DateWed, 9 Apr 2003 16:00:37 +0900
FromOsamu Tomita <>
Subject[PATCH 2.5.67-ac1] i686 SMP box doesn't boot
My i686 SMP box did not boot 2.5.67-ac1.
I guess timer_tsc.c is missing change for monotonic timer.
After appling this patch my box boot normaly.

diff -Nru linux-2.5.67-ac1/arch/i386/kernel/timers/timer_tsc.c linux-2.5.67-ac1-quick-fix/arch/i386/kernel/timers/timer_tsc.c
--- linux-2.5.67-ac1/arch/i386/kernel/timers/timer_tsc.c	2003-04-09 00:34:57.000000000 +0900
+++ linux-2.5.67-ac1-quick-fix/arch/i386/kernel/timers/timer_tsc.c	2003-04-09 14:52:32.000000000 +0900
@@ -121,6 +121,9 @@
 	int countmp;
 	static int count1 = 0;
 	unsigned long long this_offset, last_offset;
+	
+	write_lock(&monotonic_lock);
+	last_offset = ((unsigned long long)last_tsc_high<<32)|last_tsc_low;
 	/*
 	 * It is important that these two operations happen almost at
 	 * the same time. We do the RDTSC stuff first, since it's
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 12:34    [from the cache]
©2003-2008