Skip to contentSkip to conversation

2.6.17: Yet another .config that won't build

DISCUSSION Chuck Ebbert 2 participants 2 messages Jun 23, 2006 – Jul 2, 2006

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw
Quoted 1 line · On Fri, 23 Jun 2006 09:53:05 -0400 Chuck Ebbert wrote:

On i386, selecting SMP, HIGHMEM64G and X86_GENERICARCH enables 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_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

Quoted 8 lines

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 */

---
~Randy