]> git.baikalelectronics.ru Git - kernel.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)
committerHelge Deller <deller@gmx.de>
Mon, 22 Aug 2022 09:09:17 +0000 (11:09 +0200)
commit2a72fc7853e641e8276392a086b6a2662aad50e1
tree61c92f981cc8e7c795de5999ee55a09290fd8a0d
parentf4068aa7c4f6fbbc97d4f9616230a7df5b43666c
parisc: Make CONFIG_64BIT available for ARCH=parisc64 only

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+
arch/parisc/Kconfig