]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/feature: Use CONFIG_PPC64 instead of __powerpc64__ to define possible features
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 26 Nov 2020 13:09:58 +0000 (00:09 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 3 Dec 2020 14:01:09 +0000 (01:01 +1100)
commit1dd495c093669c9afa477f90f2727bc8254f11b3
tree1524eea365265fb789d93bf2091e468160f36da5
parentbeefc780b6d149c68660f992d7da0b15906e7613
powerpc/feature: Use CONFIG_PPC64 instead of __powerpc64__ to define possible features

In order to build VDSO32 for PPC64, we need to have CPU_FTRS_POSSIBLE
and CPU_FTRS_ALWAYS independant of whether we are building the
32 bits VDSO or the 64 bits VDSO.

Use #ifdef CONFIG_PPC64 instead of #ifdef __powerpc64__

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201126131006.2431205-1-mpe@ellerman.id.au
arch/powerpc/include/asm/cputable.h