aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/timex.h
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2020-07-24 23:17:24 +1000
committerMichael Ellerman <[email protected]>2020-07-29 21:08:15 +1000
commitdf4d4ef22446b3a789a4efd74d34f2ec1e24deb2 (patch)
treee3cef89f5d6bab3c22f18fd6d1981d30ec1d3ecc /arch/powerpc/include/asm/timex.h
parent07e571ea59eef518730f983f4203651ea413f2cf (diff)
powerpc/32s: Fix CONFIG_BOOK3S_601 uses
We have two uses of CONFIG_BOOK3S_601, which doesn't exist. Fix them to use CONFIG_PPC_BOOK3S_601 which is the correct symbol. Fixes: 12c3f1fd87bf ("powerpc/32s: get rid of CPU_FTR_601 feature") Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/powerpc/include/asm/timex.h')
-rw-r--r--arch/powerpc/include/asm/timex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/timex.h b/arch/powerpc/include/asm/timex.h
index d2d2c4bd8435..6047402b0a4d 100644
--- a/arch/powerpc/include/asm/timex.h
+++ b/arch/powerpc/include/asm/timex.h
@@ -17,7 +17,7 @@ typedef unsigned long cycles_t;
static inline cycles_t get_cycles(void)
{
- if (IS_ENABLED(CONFIG_BOOK3S_601))
+ if (IS_ENABLED(CONFIG_PPC_BOOK3S_601))
return 0;
return mftb();