[2.6 patch] let IA64_GENERIC select more stuff

From: Adrian Bunk
Date: Tue Feb 07 2006 - 18:15:18 EST


On Wed, Feb 08, 2006 at 09:37:11AM +1100, Keith Owens wrote:
>
> A generic IA64 kernel requires (at least) the ACPI and NUMA options in
> order to run on all the IA64 platforms out there. Omitting those
> options and relying on the user to set them by hand is going to cause
> more problems.
>
> If anything, there should be more options being set as a side effect of
> selecting IA64_GENERIC, including ARCH_DISCONTIGMEM_ENABLE,
> ARCH_SPARSEMEM_ENABLE, PCI and even SMP.

IOW, you want the patch below?

Not that I'm a big fan of this approach, but if it should be done this
way, it should be done right.

cu
Adrian


<-- snip -->


Let IA64_GENERIC select more stuff (as wanted by the ia64 developers).


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.16-rc1-mm5-ia64/arch/ia64/Kconfig.old 2006-02-07 23:07:29.000000000 +0100
+++ linux-2.6.16-rc1-mm5-ia64/arch/ia64/Kconfig 2006-02-08 00:13:58.000000000 +0100
@@ -73,10 +73,12 @@
config IA64_GENERIC
bool "generic"
select ACPI
select NUMA
select ACPI_NUMA
+ select PCI
+ select SMP
help
This selects the system type of your hardware. A "generic" kernel
will run on any supported IA-64 system. However, if you configure
a kernel for your specific system, it will be faster and smaller.

@@ -132,10 +134,11 @@
This choice is safe for all IA-64 systems, but may not perform
optimally on systems with, say, Itanium 2 or newer processors.

config MCKINLEY
bool "Itanium 2"
+ depends on IA64_GENERIC=n
help
Select this to configure for an Itanium 2 (McKinley) processor.

endchoice

@@ -318,11 +321,11 @@
for architectures which are either NUMA (Non-Uniform Memory Access)
or have huge holes in the physical address space for other reasons.
See <file:Documentation/vm/numa> for more.

config ARCH_FLATMEM_ENABLE
- def_bool y
+ def_bool y if IA64_GENERIC=n

config ARCH_SPARSEMEM_ENABLE
def_bool y
depends on ARCH_DISCONTIGMEM_ENABLE


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/