aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/asm/time.h')
-rw-r--r--arch/powerpc/include/asm/time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/time.h b/arch/powerpc/include/asm/time.h
index b80d492ceb29..54bf7e68a7e1 100644
--- a/arch/powerpc/include/asm/time.h
+++ b/arch/powerpc/include/asm/time.h
@@ -43,7 +43,7 @@ struct div_result {
43 43
44/* Accessor functions for the timebase (RTC on 601) registers. */ 44/* Accessor functions for the timebase (RTC on 601) registers. */
45/* If one day CONFIG_POWER is added just define __USE_RTC as 1 */ 45/* If one day CONFIG_POWER is added just define __USE_RTC as 1 */
46#ifdef CONFIG_6xx 46#ifdef CONFIG_PPC_BOOK3S_32
47#define __USE_RTC() (cpu_has_feature(CPU_FTR_USE_RTC)) 47#define __USE_RTC() (cpu_has_feature(CPU_FTR_USE_RTC))
48#else 48#else
49#define __USE_RTC() 0 49#define __USE_RTC() 0