diff options
author | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2007-08-20 08:29:11 -0400 |
---|---|---|
committer | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2007-08-20 08:29:11 -0400 |
commit | aab69292e4efd38181cd300d9b83b12592643d6c (patch) | |
tree | 089d2344e9fd767a01ca375eb5c9049c8a0fac9b /arch/powerpc/kernel/time.c | |
parent | 4d922c8dc332f4c7bc156fa832187661d4899cee (diff) |
[POWERPC] 40x decrementer fixes
Allow generic_calibrate_decr to work for 40x platforms. Given that the hardware
behavior is identical, this also changes the set_dec function to reload the PIT
on 40x to match the behavior 44x currently has.
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'arch/powerpc/kernel/time.c')
-rw-r--r-- | arch/powerpc/kernel/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/time.c b/arch/powerpc/kernel/time.c index c85d9b0d9042..b5944d8e3802 100644 --- a/arch/powerpc/kernel/time.c +++ b/arch/powerpc/kernel/time.c | |||
@@ -866,7 +866,7 @@ void __init generic_calibrate_decr(void) | |||
866 | "(not found)\n"); | 866 | "(not found)\n"); |
867 | } | 867 | } |
868 | 868 | ||
869 | #ifdef CONFIG_BOOKE | 869 | #if defined(CONFIG_BOOKE) || defined(CONFIG_40x) |
870 | /* Set the time base to zero */ | 870 | /* Set the time base to zero */ |
871 | mtspr(SPRN_TBWL, 0); | 871 | mtspr(SPRN_TBWL, 0); |
872 | mtspr(SPRN_TBWU, 0); | 872 | mtspr(SPRN_TBWU, 0); |