]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
parisc: Make CONFIG_64BIT available for ARCH=parisc64 only
authorHelge Deller <deller@gmx.de>
Fri, 19 Aug 2022 17:30:50 +0000 (19:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Aug 2022 15:17:59 +0000 (17:17 +0200)
commit012dad4b908a1b7ee3b4c1a52f5deb12dc446c46
tree75211c28fa056ce2f2c0a3dac15b1cf66f711df7
parentb0d2e414bcc751e0823fcb5091c9967fe2474c65
parisc: Make CONFIG_64BIT available for ARCH=parisc64 only

commit 3dcfb729b5f4a0c9b50742865cd5e6c4dbcc80dc upstream.

With this patch the ARCH= parameter decides if the
CONFIG_64BIT option will be set or not. This means, the
ARCH= parameter will give:

ARCH=parisc -> 32-bit kernel
ARCH=parisc64 -> 64-bit kernel

This simplifies the usage of the other config options like
randconfig, allmodconfig and allyesconfig a lot and produces
the output which is expected for parisc64 (64-bit) vs. parisc (32-bit).

Suggested-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Helge Deller <deller@gmx.de>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Cc: <stable@vger.kernel.org> # 5.15+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/Kconfig