Skip to content

Commit

Permalink
x86: rename X86_GENERICARCH to X86_32_NON_STANDARD
Browse files Browse the repository at this point in the history
X86_GENERICARCH is a misnomer - it contains non-PC 32-bit architectures
that are not included in the default build.

Rename it to X86_32_NON_STANDARD.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Jan 29, 2009
1 parent e2c75d9 commit e0c7ae3
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
22 changes: 11 additions & 11 deletions arch/x86/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ config X86_VOYAGER
If you do not specifically know you have a Voyager based machine,
say N here, otherwise the kernel you build will not be bootable.

config X86_GENERICARCH
config X86_32_NON_STANDARD
bool "Support non-standard 32-bit SMP architectures"
depends on X86_32 && SMP
depends on X86_NON_STANDARD
Expand All @@ -356,7 +356,7 @@ config X86_GENERICARCH

config X86_NUMAQ
bool "NUMAQ (IBM/Sequent)"
depends on X86_GENERICARCH
depends on X86_32_NON_STANDARD
select NUMA
select X86_MPPARSE
help
Expand All @@ -368,21 +368,21 @@ config X86_NUMAQ

config X86_SUMMIT
bool "Summit/EXA (IBM x440)"
depends on X86_GENERICARCH
depends on X86_32_NON_STANDARD
help
This option is needed for IBM systems that use the Summit/EXA chipset.
In particular, it is needed for the x440.

config X86_ES7000
bool "Support for Unisys ES7000 IA32 series"
depends on X86_GENERICARCH
depends on X86_32_NON_STANDARD
help
Support for Unisys ES7000 systems. Say 'Y' here if this kernel is
supposed to run on an IA32-based Unisys ES7000 system.

config X86_BIGSMP
bool "Support for big SMP systems with more than 8 CPUs"
depends on X86_GENERICARCH
depends on X86_32_NON_STANDARD
help
This option is needed for the systems that have more than 8 CPUs
and if the system is not of any sub-arch type above.
Expand Down Expand Up @@ -475,11 +475,11 @@ config MEMTEST

config X86_SUMMIT_NUMA
def_bool y
depends on X86_32 && NUMA && X86_GENERICARCH
depends on X86_32 && NUMA && X86_32_NON_STANDARD

config X86_CYCLONE_TIMER
def_bool y
depends on X86_GENERICARCH
depends on X86_32_NON_STANDARD

source "arch/x86/Kconfig.cpu"

Expand Down Expand Up @@ -651,7 +651,7 @@ source "kernel/Kconfig.preempt"

config X86_UP_APIC
bool "Local APIC support on uniprocessors"
depends on X86_32 && !SMP && !X86_GENERICARCH
depends on X86_32 && !SMP && !X86_32_NON_STANDARD
help
A local APIC (Advanced Programmable Interrupt Controller) is an
integrated interrupt controller in the CPU. If you have a single-CPU
Expand All @@ -676,11 +676,11 @@ config X86_UP_IOAPIC

config X86_LOCAL_APIC
def_bool y
depends on X86_64 || SMP || X86_GENERICARCH || X86_UP_APIC
depends on X86_64 || SMP || X86_32_NON_STANDARD || X86_UP_APIC

config X86_IO_APIC
def_bool y
depends on X86_64 || SMP || X86_GENERICARCH || X86_UP_APIC
depends on X86_64 || SMP || X86_32_NON_STANDARD || X86_UP_APIC

config X86_VISWS_APIC
def_bool y
Expand Down Expand Up @@ -1122,7 +1122,7 @@ config ARCH_SPARSEMEM_DEFAULT

config ARCH_SPARSEMEM_ENABLE
def_bool y
depends on X86_64 || NUMA || (EXPERIMENTAL && X86_PC) || X86_GENERICARCH
depends on X86_64 || NUMA || (EXPERIMENTAL && X86_PC) || X86_32_NON_STANDARD
select SPARSEMEM_STATIC if X86_32
select SPARSEMEM_VMEMMAP_ENABLE if X86_64

Expand Down
2 changes: 1 addition & 1 deletion arch/x86/kernel/acpi/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -1335,7 +1335,7 @@ static void __init acpi_process_madt(void)
if (!error) {
acpi_lapic = 1;

#ifdef CONFIG_X86_GENERICARCH
#ifdef CONFIG_X86_32_NON_STANDARD
generic_bigsmp_probe();
#endif
/*
Expand Down
2 changes: 1 addition & 1 deletion arch/x86/kernel/mpparse.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ static int __init smp_read_mpc(struct mpc_table *mpc, unsigned early)
(*x86_quirks->mpc_record)++;
}

#ifdef CONFIG_X86_GENERICARCH
#ifdef CONFIG_X86_32_NON_STANDARD
generic_bigsmp_probe();
#endif

Expand Down
2 changes: 1 addition & 1 deletion arch/x86/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ void __init setup_arch(char **cmdline_p)
map_vsyscall();
#endif

#ifdef CONFIG_X86_GENERICARCH
#ifdef CONFIG_X86_32_NON_STANDARD
generic_apic_probe();
#endif

Expand Down
2 changes: 1 addition & 1 deletion arch/x86/kernel/smpboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ static int __init smp_sanity_check(unsigned max_cpus)

printk(KERN_WARNING
"More than 8 CPUs detected - skipping them.\n"
"Use CONFIG_X86_GENERICARCH and CONFIG_X86_BIGSMP.\n");
"Use CONFIG_X86_32_NON_STANDARD and CONFIG_X86_BIGSMP.\n");

nr = 0;
for_each_present_cpu(cpu) {
Expand Down
2 changes: 1 addition & 1 deletion drivers/mtd/nand/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ config MTD_NAND_CAFE

config MTD_NAND_CS553X
tristate "NAND support for CS5535/CS5536 (AMD Geode companion chip)"
depends on X86_32 && (X86_PC || X86_GENERICARCH)
depends on X86_32 && (X86_PC || X86_32_NON_STANDARD)
help
The CS553x companion chips for the AMD Geode processor
include NAND flash controllers with built-in hardware ECC
Expand Down

0 comments on commit e0c7ae3

Please sign in to comment.