Skip to content

Commit 71d99ea

Browse files
masahir0ybp3tk0v
authored andcommitted
x86/Kconfig: Merge the two CONFIG_X86_EXTENDED_PLATFORM entries
There are two menu entries for X86_EXTENDED_PLATFORM, one for X86_32 and the other for X86_64. These entries are nearly identical, with the only difference being the platform list in the help message. While this structure was intended by commit 8425091 ("x86: improve the help text of X86_EXTENDED_PLATFORM"), there is no need to duplicate the entire config entry. Instead, provide a little more clarification in the help message. [ bp: Massage. ] Signed-off-by: Masahiro Yamada <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent cba786a commit 71d99ea

File tree

1 file changed

+7
-19
lines changed

1 file changed

+7
-19
lines changed

arch/x86/Kconfig

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -506,10 +506,9 @@ config X86_FRED
506506
ring transitions and exception/interrupt handling if the
507507
system supports.
508508

509-
if X86_32
510509
config X86_BIGSMP
511510
bool "Support for big SMP systems with more than 8 CPUs"
512-
depends on SMP
511+
depends on SMP && X86_32
513512
help
514513
This option is needed for the systems that have more than 8 CPUs.
515514

@@ -522,36 +521,25 @@ config X86_EXTENDED_PLATFORM
522521
systems out there.)
523522

524523
If you enable this option then you'll be able to select support
525-
for the following (non-PC) 32 bit x86 platforms:
524+
for the following non-PC x86 platforms, depending on the value of
525+
CONFIG_64BIT.
526+
527+
32-bit platforms (CONFIG_64BIT=n):
526528
Goldfish (Android emulator)
527529
AMD Elan
528530
RDC R-321x SoC
529531
SGI 320/540 (Visual Workstation)
530532
STA2X11-based (e.g. Northville)
531533
Moorestown MID devices
532534

533-
If you have one of these systems, or if you want to build a
534-
generic distribution kernel, say Y here - otherwise say N.
535-
endif # X86_32
536-
537-
if X86_64
538-
config X86_EXTENDED_PLATFORM
539-
bool "Support for extended (non-PC) x86 platforms"
540-
default y
541-
help
542-
If you disable this option then the kernel will only support
543-
standard PC platforms. (which covers the vast majority of
544-
systems out there.)
545-
546-
If you enable this option then you'll be able to select support
547-
for the following (non-PC) 64 bit x86 platforms:
535+
64-bit platforms (CONFIG_64BIT=y):
548536
Numascale NumaChip
549537
ScaleMP vSMP
550538
SGI Ultraviolet
551539

552540
If you have one of these systems, or if you want to build a
553541
generic distribution kernel, say Y here - otherwise say N.
554-
endif # X86_64
542+
555543
# This is an alphabetically sorted list of 64 bit extended platforms
556544
# Please maintain the alphabetic order if and when there are additions
557545
config X86_NUMACHIP

0 commit comments

Comments
 (0)