]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] ia64: don't try to synchronize ITCs on ITC_DRIFT platforms
authorJes Sorensen <jes@wildopensource.com>
Thu, 27 Mar 2003 04:38:22 +0000 (20:38 -0800)
committerDavid Mosberger <davidm@tiger.hpl.hp.com>
Thu, 27 Mar 2003 04:38:22 +0000 (20:38 -0800)
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.

arch/ia64/kernel/smpboot.c

index cb5a89f6876377fb965c799b66c63248bc0e74ac..dfd8ffdcbd529495d555fdcd0f5a35bd0a8a04e9 100644 (file)
@@ -279,12 +279,15 @@ smp_callin (void)
 
        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.
         */