* [PATCH] x86: Kconfig cleanup with genericarch
@ 2008-06-17 22:39 Yinghai Lu
2008-06-18 14:26 ` Ingo Molnar
2008-06-18 18:54 ` [PATCH] x86: remove unused file after numaq etc depends on genericarch Yinghai Lu
0 siblings, 2 replies; 4+ messages in thread
From: Yinghai Lu @ 2008-06-17 22:39 UTC (permalink / raw)
To: Ingo Molnar, Thomas Gleixner, H. Peter Anvin; +Cc: linux-kernel@vger.kernel.org
we already have summit and etc depends on genericarch,
so use genericarch only
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 48b2143..ee63192 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -428,7 +428,7 @@ config MEMTEST
config ACPI_SRAT
def_bool y
- depends on X86_32 && ACPI && NUMA && (X86_SUMMIT || X86_GENERICARCH)
+ depends on X86_32 && ACPI && NUMA && X86_GENERICARCH
select ACPI_NUMA
config HAVE_ARCH_PARSE_SRAT
@@ -437,11 +437,11 @@ config HAVE_ARCH_PARSE_SRAT
config X86_SUMMIT_NUMA
def_bool y
- depends on X86_32 && NUMA && (X86_SUMMIT || X86_GENERICARCH)
+ depends on X86_32 && NUMA && X86_GENERICARCH
config X86_CYCLONE_TIMER
def_bool y
- depends on X86_32 && X86_SUMMIT || X86_GENERICARCH
+ depends on X86_GENERICARCH
config ES7000_CLUSTERED_APIC
def_bool y
@@ -906,9 +906,9 @@ config X86_PAE
config NUMA
bool "Numa Memory Allocation and Scheduler Support (EXPERIMENTAL)"
depends on SMP
- depends on X86_64 || (X86_32 && HIGHMEM64G && (X86_NUMAQ || X86_GENERICARCH || X86_SUMMIT && ACPI) && EXPERIMENTAL)
+ depends on X86_64 || (X86_32 && HIGHMEM64G && (X86_NUMAQ || X86_BIGSMP || X86_SUMMIT && ACPI) && EXPERIMENTAL)
default n if X86_PC
- default y if (X86_NUMAQ || X86_SUMMIT || X86_GENERICARCH)
+ default y if (X86_NUMAQ || X86_SUMMIT || X86_BIGSMP)
help
Enable NUMA (Non Uniform Memory Access) support.
The kernel will try to allocate memory used by a CPU on the
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] x86: Kconfig cleanup with genericarch
2008-06-17 22:39 [PATCH] x86: Kconfig cleanup with genericarch Yinghai Lu
@ 2008-06-18 14:26 ` Ingo Molnar
2008-06-18 18:54 ` [PATCH] x86: remove unused file after numaq etc depends on genericarch Yinghai Lu
1 sibling, 0 replies; 4+ messages in thread
From: Ingo Molnar @ 2008-06-18 14:26 UTC (permalink / raw)
To: Yinghai Lu; +Cc: Thomas Gleixner, H. Peter Anvin, linux-kernel@vger.kernel.org
* Yinghai Lu <yhlu.kernel@gmail.com> wrote:
> we already have summit and etc depends on genericarch, so use
> genericarch only
applied to tip/x86/mpparse, thanks.
Ingo
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] x86: remove unused file after numaq etc depends on genericarch
2008-06-17 22:39 [PATCH] x86: Kconfig cleanup with genericarch Yinghai Lu
2008-06-18 14:26 ` Ingo Molnar
@ 2008-06-18 18:54 ` Yinghai Lu
2008-06-19 12:12 ` Ingo Molnar
1 sibling, 1 reply; 4+ messages in thread
From: Yinghai Lu @ 2008-06-18 18:54 UTC (permalink / raw)
To: Ingo Molnar, Thomas Gleixner, H. Peter Anvin; +Cc: linux-kernel@vger.kernel.org
we don't need those mach_mpsech.h now.
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
include/asm-x86/mach-bigsmp/mach_mpspec.h | 8 --------
include/asm-x86/mach-es7000/mach_mpspec.h | 8 --------
include/asm-x86/mach-numaq/mach_mpspec.h | 8 --------
include/asm-x86/mach-summit/mach_mpspec.h | 9 ---------
4 files changed, 33 deletions(-)
Index: linux-2.6/include/asm-x86/mach-bigsmp/mach_mpspec.h
===================================================================
--- linux-2.6.orig/include/asm-x86/mach-bigsmp/mach_mpspec.h
+++ /dev/null
@@ -1,8 +0,0 @@
-#ifndef __ASM_MACH_MPSPEC_H
-#define __ASM_MACH_MPSPEC_H
-
-#define MAX_IRQ_SOURCES 256
-
-#define MAX_MP_BUSSES 32
-
-#endif /* __ASM_MACH_MPSPEC_H */
Index: linux-2.6/include/asm-x86/mach-es7000/mach_mpspec.h
===================================================================
--- linux-2.6.orig/include/asm-x86/mach-es7000/mach_mpspec.h
+++ /dev/null
@@ -1,8 +0,0 @@
-#ifndef __ASM_MACH_MPSPEC_H
-#define __ASM_MACH_MPSPEC_H
-
-#define MAX_IRQ_SOURCES 256
-
-#define MAX_MP_BUSSES 256
-
-#endif /* __ASM_MACH_MPSPEC_H */
Index: linux-2.6/include/asm-x86/mach-numaq/mach_mpspec.h
===================================================================
--- linux-2.6.orig/include/asm-x86/mach-numaq/mach_mpspec.h
+++ /dev/null
@@ -1,8 +0,0 @@
-#ifndef __ASM_MACH_MPSPEC_H
-#define __ASM_MACH_MPSPEC_H
-
-#define MAX_IRQ_SOURCES 512
-
-#define MAX_MP_BUSSES 32
-
-#endif /* __ASM_MACH_MPSPEC_H */
Index: linux-2.6/include/asm-x86/mach-summit/mach_mpspec.h
===================================================================
--- linux-2.6.orig/include/asm-x86/mach-summit/mach_mpspec.h
+++ /dev/null
@@ -1,9 +0,0 @@
-#ifndef __ASM_MACH_MPSPEC_H
-#define __ASM_MACH_MPSPEC_H
-
-#define MAX_IRQ_SOURCES 256
-
-/* Maximum 256 PCI busses, plus 1 ISA bus in each of 4 cabinets. */
-#define MAX_MP_BUSSES 260
-
-#endif /* __ASM_MACH_MPSPEC_H */
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] x86: remove unused file after numaq etc depends on genericarch
2008-06-18 18:54 ` [PATCH] x86: remove unused file after numaq etc depends on genericarch Yinghai Lu
@ 2008-06-19 12:12 ` Ingo Molnar
0 siblings, 0 replies; 4+ messages in thread
From: Ingo Molnar @ 2008-06-19 12:12 UTC (permalink / raw)
To: Yinghai Lu; +Cc: Thomas Gleixner, H. Peter Anvin, linux-kernel@vger.kernel.org
* Yinghai Lu <yhlu.kernel@gmail.com> wrote:
> we don't need those mach_mpsech.h now.
>
> Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
>
> ---
> include/asm-x86/mach-bigsmp/mach_mpspec.h | 8 --------
> include/asm-x86/mach-es7000/mach_mpspec.h | 8 --------
> include/asm-x86/mach-numaq/mach_mpspec.h | 8 --------
> include/asm-x86/mach-summit/mach_mpspec.h | 9 ---------
> 4 files changed, 33 deletions(-)
applied to tip/x86/mpparse, thanks.
nice cleanup!
Ingo
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-06-19 12:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-17 22:39 [PATCH] x86: Kconfig cleanup with genericarch Yinghai Lu
2008-06-18 14:26 ` Ingo Molnar
2008-06-18 18:54 ` [PATCH] x86: remove unused file after numaq etc depends on genericarch Yinghai Lu
2008-06-19 12:12 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox