2.6.17: Yet another .config that won't build
On i386, selecting SMP, HIGHMEM64G and X86_GENERICARCH enables NUMA. Then selecting NUMA automatically selects ACPI_SRAT even when ACPI is unselected. The resulting .config won't build:
arch/i386/kernel/srat.c: In function `parse_cpu_affinity_structure':arch/i386/kernel/srat.c:70: error: dereferencing pointer to incomplete type
static void __init parse_cpu_affinity_structure(char *p)
{
struct acpi_table_processor_affinity *cpu_affinity =
(struct acpi_table_processor_affinity *) p;
70 ===> if (!cpu_affinity->flags.enabled)
return; /* empty entry */
Signature · 2 lines
Chuck "You can't read a newspaper if you can't read." --George W. Bush
Quoted 1 line · On Fri, 23 Jun 2006 09:53:05 -0400 Chuck Ebbert wrote:
On i386, selecting SMP, HIGHMEM64G and
X86_GENERICARCHenables NUMA.
I don't see NUMA being enabled by SMP + HIGHMEM64G + X86_GENERICARCH (on 2.6.17-git20). Has this already been fixed?
Quoted 6 lines
Then selecting NUMA automatically selects
ACPI_SRATeven when ACPI is unselected. The resulting .config won't build:
arch/i386/kernel/srat.c: In function `parse_cpu_affinity_structure':arch/i386/kernel/srat.c:70: error: dereferencing pointer to incomplete type
Quoted 8 lines
static void
__initparse_cpu_affinity_structure(char *p)
{
structacpi_table_processor_affinity*cpu_affinity=
(structacpi_table_processor_affinity*) p;70 ===> if (!cpu_affinity->flags.enabled)
return; /* empty entry */
---
~Randy