Эх сурвалжийг харах

x86: rename X86_GENERICARCH to X86_32_NON_STANDARD

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>
Ingo Molnar 16 жил өмнө
parent
commit
e0c7ae376a

+ 11 - 11
arch/x86/Kconfig

@@ -344,7 +344,7 @@ config X86_VOYAGER
 	  If you do not specifically know you have a Voyager based machine,
 	  If you do not specifically know you have a Voyager based machine,
 	  say N here, otherwise the kernel you build will not be bootable.
 	  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"
 	bool "Support non-standard 32-bit SMP architectures"
 	depends on X86_32 && SMP
 	depends on X86_32 && SMP
 	depends on X86_NON_STANDARD
 	depends on X86_NON_STANDARD
@@ -356,7 +356,7 @@ config X86_GENERICARCH
 
 
 config X86_NUMAQ
 config X86_NUMAQ
 	bool "NUMAQ (IBM/Sequent)"
 	bool "NUMAQ (IBM/Sequent)"
-	depends on X86_GENERICARCH
+	depends on X86_32_NON_STANDARD
 	select NUMA
 	select NUMA
 	select X86_MPPARSE
 	select X86_MPPARSE
 	help
 	help
@@ -368,21 +368,21 @@ config X86_NUMAQ
 
 
 config X86_SUMMIT
 config X86_SUMMIT
 	bool "Summit/EXA (IBM x440)"
 	bool "Summit/EXA (IBM x440)"
-	depends on X86_GENERICARCH
+	depends on X86_32_NON_STANDARD
 	help
 	help
 	  This option is needed for IBM systems that use the Summit/EXA chipset.
 	  This option is needed for IBM systems that use the Summit/EXA chipset.
 	  In particular, it is needed for the x440.
 	  In particular, it is needed for the x440.
 
 
 config X86_ES7000
 config X86_ES7000
 	bool "Support for Unisys ES7000 IA32 series"
 	bool "Support for Unisys ES7000 IA32 series"
-	depends on X86_GENERICARCH
+	depends on X86_32_NON_STANDARD
 	help
 	help
 	  Support for Unisys ES7000 systems.  Say 'Y' here if this kernel is
 	  Support for Unisys ES7000 systems.  Say 'Y' here if this kernel is
 	  supposed to run on an IA32-based Unisys ES7000 system.
 	  supposed to run on an IA32-based Unisys ES7000 system.
 
 
 config X86_BIGSMP
 config X86_BIGSMP
 	bool "Support for big SMP systems with more than 8 CPUs"
 	bool "Support for big SMP systems with more than 8 CPUs"
-	depends on X86_GENERICARCH
+	depends on X86_32_NON_STANDARD
 	help
 	help
 	  This option is needed for the systems that have more than 8 CPUs
 	  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.
 	  and if the system is not of any sub-arch type above.
@@ -475,11 +475,11 @@ config MEMTEST
 
 
 config X86_SUMMIT_NUMA
 config X86_SUMMIT_NUMA
 	def_bool y
 	def_bool y
-	depends on X86_32 && NUMA && X86_GENERICARCH
+	depends on X86_32 && NUMA && X86_32_NON_STANDARD
 
 
 config X86_CYCLONE_TIMER
 config X86_CYCLONE_TIMER
 	def_bool y
 	def_bool y
-	depends on X86_GENERICARCH
+	depends on X86_32_NON_STANDARD
 
 
 source "arch/x86/Kconfig.cpu"
 source "arch/x86/Kconfig.cpu"
 
 
@@ -651,7 +651,7 @@ source "kernel/Kconfig.preempt"
 
 
 config X86_UP_APIC
 config X86_UP_APIC
 	bool "Local APIC support on uniprocessors"
 	bool "Local APIC support on uniprocessors"
-	depends on X86_32 && !SMP && !X86_GENERICARCH
+	depends on X86_32 && !SMP && !X86_32_NON_STANDARD
 	help
 	help
 	  A local APIC (Advanced Programmable Interrupt Controller) is an
 	  A local APIC (Advanced Programmable Interrupt Controller) is an
 	  integrated interrupt controller in the CPU. If you have a single-CPU
 	  integrated interrupt controller in the CPU. If you have a single-CPU
@@ -676,11 +676,11 @@ config X86_UP_IOAPIC
 
 
 config X86_LOCAL_APIC
 config X86_LOCAL_APIC
 	def_bool y
 	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
 config X86_IO_APIC
 	def_bool y
 	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
 config X86_VISWS_APIC
 	def_bool y
 	def_bool y
@@ -1122,7 +1122,7 @@ config ARCH_SPARSEMEM_DEFAULT
 
 
 config ARCH_SPARSEMEM_ENABLE
 config ARCH_SPARSEMEM_ENABLE
 	def_bool y
 	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_STATIC if X86_32
 	select SPARSEMEM_VMEMMAP_ENABLE if X86_64
 	select SPARSEMEM_VMEMMAP_ENABLE if X86_64
 
 

+ 1 - 1
arch/x86/kernel/acpi/boot.c

@@ -1335,7 +1335,7 @@ static void __init acpi_process_madt(void)
 		if (!error) {
 		if (!error) {
 			acpi_lapic = 1;
 			acpi_lapic = 1;
 
 
-#ifdef CONFIG_X86_GENERICARCH
+#ifdef CONFIG_X86_32_NON_STANDARD
 			generic_bigsmp_probe();
 			generic_bigsmp_probe();
 #endif
 #endif
 			/*
 			/*

+ 1 - 1
arch/x86/kernel/mpparse.c

@@ -372,7 +372,7 @@ static int __init smp_read_mpc(struct mpc_table *mpc, unsigned early)
 			(*x86_quirks->mpc_record)++;
 			(*x86_quirks->mpc_record)++;
 	}
 	}
 
 
-#ifdef CONFIG_X86_GENERICARCH
+#ifdef CONFIG_X86_32_NON_STANDARD
        generic_bigsmp_probe();
        generic_bigsmp_probe();
 #endif
 #endif
 
 

+ 1 - 1
arch/x86/kernel/setup.c

@@ -936,7 +936,7 @@ void __init setup_arch(char **cmdline_p)
 	map_vsyscall();
 	map_vsyscall();
 #endif
 #endif
 
 
-#ifdef CONFIG_X86_GENERICARCH
+#ifdef CONFIG_X86_32_NON_STANDARD
 	generic_apic_probe();
 	generic_apic_probe();
 #endif
 #endif
 
 

+ 1 - 1
arch/x86/kernel/smpboot.c

@@ -1007,7 +1007,7 @@ static int __init smp_sanity_check(unsigned max_cpus)
 
 
 		printk(KERN_WARNING
 		printk(KERN_WARNING
 		       "More than 8 CPUs detected - skipping them.\n"
 		       "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;
 		nr = 0;
 		for_each_present_cpu(cpu) {
 		for_each_present_cpu(cpu) {

+ 1 - 1
drivers/mtd/nand/Kconfig

@@ -273,7 +273,7 @@ config MTD_NAND_CAFE
 
 
 config MTD_NAND_CS553X
 config MTD_NAND_CS553X
 	tristate "NAND support for CS5535/CS5536 (AMD Geode companion chip)"
 	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
 	help
 	  The CS553x companion chips for the AMD Geode processor
 	  The CS553x companion chips for the AMD Geode processor
 	  include NAND flash controllers with built-in hardware ECC
 	  include NAND flash controllers with built-in hardware ECC