diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2020-01-14 17:54:01 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-01-27 22:37:37 +1100 |
commit | af1725d2493dcad4eeb7e63141678181fcd8a2ff (patch) | |
tree | 60593be7aeb8c0cfffc5f31feeae5c77e9de2d32 /arch/powerpc | |
parent | 3d4247fcc938d0ab5cf6fdb752dae07fdeab9736 (diff) | |
download | linux-stable-af1725d2493dcad4eeb7e63141678181fcd8a2ff.tar.gz linux-stable-af1725d2493dcad4eeb7e63141678181fcd8a2ff.tar.bz2 linux-stable-af1725d2493dcad4eeb7e63141678181fcd8a2ff.zip |
powerpc/kconfig: Move CONFIG_PPC32 into Kconfig.cputype
Move CONFIG_PPC32 at the same place as CONFIG_PPC64 for consistency.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/6f28085c2a1aa987093d50db17586633bbf8e206.1579024426.git.christophe.leroy@c-s.fr
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/Kconfig | 4 | ||||
-rw-r--r-- | arch/powerpc/platforms/Kconfig.cputype | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index a7f10a1b79f7..62752c3bfabf 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -1,10 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 source "arch/powerpc/platforms/Kconfig.cputype" -config PPC32 - bool - default y if !PPC64 - config 32BIT bool default y if PPC32 diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype index e90bbb7f74b6..1c4f24a81580 100644 --- a/arch/powerpc/platforms/Kconfig.cputype +++ b/arch/powerpc/platforms/Kconfig.cputype @@ -1,4 +1,8 @@ # SPDX-License-Identifier: GPL-2.0 +config PPC32 + bool + default y if !PPC64 + config PPC64 bool "64-bit kernel" select ZLIB_DEFLATE |