]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
powerpc/booke: don't reinitialize time base
authorKumar Gala <galak@kernel.crashing.org>
Fri, 27 Jun 2008 13:03:13 +0000 (08:03 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 14 Jul 2008 12:55:42 +0000 (07:55 -0500)
For some reason long ago I decided that we should zero out the time base
when we calibrate the decrementer.  The problem is that this can be
harmful in SMP systems where the firmware has already synchronized the
time bases on the various cores.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/kernel/time.c

index c73fc33aa817a93f49b682fcb999f1f5c5fe61e0..eb938808ddfb5fcdc3191304110a9709acabdb71 100644 (file)
@@ -742,10 +742,6 @@ void __init generic_calibrate_decr(void)
        }
 
 #if defined(CONFIG_BOOKE) || defined(CONFIG_40x)
-       /* Set the time base to zero */
-       mtspr(SPRN_TBWL, 0);
-       mtspr(SPRN_TBWU, 0);
-
        /* Clear any pending timer interrupts */
        mtspr(SPRN_TSR, TSR_ENW | TSR_WIS | TSR_DIS | TSR_FIS);