diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2017-08-08 13:58:54 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-08-10 23:32:12 +1000 |
commit | 968159c0031ac1e07ab4426397e786c9c483f068 (patch) | |
tree | c92857f74b6ae5e6a4418715d4a5683de31abf73 /arch/powerpc/include/asm/timex.h | |
parent | e959986694e4a1fb83e371bf2e8395ec2fc8b251 (diff) | |
download | lwn-968159c0031ac1e07ab4426397e786c9c483f068.tar.gz lwn-968159c0031ac1e07ab4426397e786c9c483f068.zip |
powerpc/8xx: Getting rid of remaining use of CONFIG_8xx
Two config options exist to define powerpc MPC8xx:
* CONFIG_PPC_8xx
* CONFIG_8xx
arch/powerpc/platforms/Kconfig.cputype has contained the following
comment about CONFIG_8xx item for some years:
"# this is temp to handle compat with arch=ppc"
arch/powerpc is now the only place with remaining use of
CONFIG_8xx: get rid of them.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/timex.h')
-rw-r--r-- | arch/powerpc/include/asm/timex.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/timex.h b/arch/powerpc/include/asm/timex.h index b467dbcb0fb7..cb61eae5b7ed 100644 --- a/arch/powerpc/include/asm/timex.h +++ b/arch/powerpc/include/asm/timex.h @@ -29,7 +29,7 @@ static inline cycles_t get_cycles(void) ret = 0; __asm__ __volatile__( -#ifdef CONFIG_8xx +#ifdef CONFIG_PPC_8xx "97: mftb %0\n" #else "97: mfspr %0, %2\n" |