public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] [patch] 2.4 arch/ia64/kernel/smpboot.c
@ 2003-03-26 16:27 Jes Sorensen
  2003-03-27 20:39 ` David Mosberger
  2003-04-16 22:49 ` Bjorn Helgaas
  0 siblings, 2 replies; 3+ messages in thread
From: Jes Sorensen @ 2003-03-26 16:27 UTC (permalink / raw)
  To: linux-ia64

Hi,

A small patch for 2.4 that stops the kernel from trying to syncrhonize
ITC clocks between CPUs if we know that the ITC isn't synchronized
across the backplane.

The patch is relative to 2.4.21-pre5-bjorn, but I believe it should
apply directly to 2.5.x as well.

Cheers,
Jes

--- ../linux-2.4.20-021210/arch/ia64/kernel/smpboot.c	Tue Mar 11 11:23:49 2003
+++ arch/ia64/kernel/smpboot.c	Wed Mar 26 06:19:17 2003
@@ -334,12 +334,15 @@
 
 	smp_setup_percpu_timer();
 
-	/*
-	 * Synchronize the ITC with the BP
-	 */
-	Dprintk("Going to syncup ITC with BP.\n");
+	if (!(sal_platform_features & IA64_SAL_PLATFORM_FEATURE_ITC_DRIFT)) {
+		/*
+		 * Synchronize the ITC with the BP
+		 */
+		Dprintk("Going to syncup ITC with BP.\n");
+
+		ia64_sync_itc(0);
+	}
 
-	ia64_sync_itc(0);
 	/*
 	 * Get our bogomips.
 	 */


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-04-16 22:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-26 16:27 [Linux-ia64] [patch] 2.4 arch/ia64/kernel/smpboot.c Jes Sorensen
2003-03-27 20:39 ` David Mosberger
2003-04-16 22:49 ` Bjorn Helgaas

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