diff options
Diffstat (limited to 'include/asm-powerpc/time.h')
-rw-r--r-- | include/asm-powerpc/time.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-powerpc/time.h b/include/asm-powerpc/time.h index 4eecc38f7092..f8ef186c81e4 100644 --- a/include/asm-powerpc/time.h +++ b/include/asm-powerpc/time.h | |||
@@ -75,7 +75,7 @@ struct div_result { | |||
75 | /* Accessor functions for the timebase (RTC on 601) registers. */ | 75 | /* Accessor functions for the timebase (RTC on 601) registers. */ |
76 | /* If one day CONFIG_POWER is added just define __USE_RTC as 1 */ | 76 | /* If one day CONFIG_POWER is added just define __USE_RTC as 1 */ |
77 | #ifdef CONFIG_6xx | 77 | #ifdef CONFIG_6xx |
78 | #define __USE_RTC() cpu_has_feature(CPU_FTR_USE_TB) | 78 | #define __USE_RTC() (!cpu_has_feature(CPU_FTR_USE_TB)) |
79 | #else | 79 | #else |
80 | #define __USE_RTC() 0 | 80 | #define __USE_RTC() 0 |
81 | #endif | 81 | #endif |