RE: 2.6.20-rc6-mm3

From: Starikovskiy, Alexey Y
Date: Thu Feb 01 2007 - 14:37:39 EST


Sorry, here is the patch... ACPI has switched to acpi_find_rsdp(), so
srat.c might want to do that too, please check.

Thanks,
Alex.

>-----Original Message-----
>From: Cedric Le Goater [mailto:clg@xxxxxxxxxx]
>Sent: Thursday, February 01, 2007 9:24 PM
>To: Andrew Morton
>Cc: linux-kernel@xxxxxxxxxxxxxxx; Moore, Robert; Starikovskiy, Alexey
Y;
>keith mannthey
>Subject: Re: 2.6.20-rc6-mm3
>
>Hello !
>
>changes in git-acpi.patch in 2.6.20-rc6-mm3 (and maybe before) broke
the
>Summit
>sub-arch (IBM x440) compile :(
>
>thanks,
>
>C.
>
> CC arch/i386/kernel/cpu/intel.o
> CC arch/i386/kernel/early_printk.o
>arch/i386/kernel/srat.c: In function 'parse_cpu_affinity_structure':
>arch/i386/kernel/srat.c:68: error: dereferencing pointer to incomplete
type
>arch/i386/kernel/srat.c:72: error: dereferencing pointer to incomplete
type
>arch/i386/kernel/srat.c:72: error: dereferencing pointer to incomplete
type
>arch/i386/kernel/srat.c:74: error: dereferencing pointer to incomplete
type
>arch/i386/kernel/srat.c:74: error: dereferencing pointer to incomplete
type
>arch/i386/kernel/srat.c:77: error: dereferencing pointer to incomplete
type
>arch/i386/kernel/srat.c:77: error: dereferencing pointer to incomplete
type
>arch/i386/kernel/srat.c: In function 'parse_memory_affinity_structure':
>arch/i386/kernel/srat.c:93: error: dereferencing pointer to incomplete
type
>arch/i386/kernel/srat.c:97: error: dereferencing pointer to incomplete
type
>arch/i386/kernel/srat.c:97: error: dereferencing pointer to incomplete
type
>arch/i386/kernel/srat.c:100: error: dereferencing pointer to incomplete
>type
>arch/i386/kernel/srat.c:101: error: dereferencing pointer to incomplete
>type
>arch/i386/kernel/srat.c:102: error: dereferencing pointer to incomplete
>type
>arch/i386/kernel/srat.c:103: error: dereferencing pointer to incomplete
>type
>arch/i386/kernel/srat.c:108: error: dereferencing pointer to incomplete
>type
>arch/i386/kernel/srat.c:134: error: dereferencing pointer to incomplete
>type
>arch/i386/kernel/srat.c:135: error: dereferencing pointer to incomplete
>type
>arch/i386/kernel/srat.c:136: error: dereferencing pointer to incomplete
>type
>arch/i386/kernel/srat.c: In function 'acpi20_parse_srat':
>arch/i386/kernel/srat.c:188: error: 'ACPI_SRAT_PROCESSOR_AFFINITY'
>undeclared (first use in this function)
>arch/i386/kernel/srat.c:188: error: (Each undeclared identifier is
reported
>only once
>arch/i386/kernel/srat.c:188: error: for each function it appears in.)
>arch/i386/kernel/srat.c:191: error: 'ACPI_SRAT_MEMORY_AFFINITY'
undeclared
>(first use in this function)
>arch/i386/kernel/srat.c: In function 'get_memcfg_from_srat':
>arch/i386/kernel/srat.c:275: error: 'ACPI_PHYSICAL_ADDRESSING'
undeclared
>(first use in this function)
>arch/i386/kernel/srat.c:275: error: too many arguments to function
>'acpi_find_root_pointer'
>arch/i386/kernel/srat.c:282: error: dereferencing pointer to incomplete
>type
>arch/i386/kernel/srat.c:282: error: 'ACPI_PHYSICAL_POINTER' undeclared
>(first use in this function)
>arch/i386/kernel/srat.c:285: error: dereferencing pointer to incomplete
>type
>arch/i386/kernel/srat.c:298: error: 'RSDP_SIG' undeclared (first use in
>this function)
>arch/i386/kernel/srat.c:304: error: 'struct acpi_table_rsdp' has no
member
>named 'rsdt_address'
>arch/i386/kernel/srat.c:315: error: 'RSDT_SIG' undeclared (first use in
>this function)
>arch/i386/kernel/srat.c:344: error: 'struct acpi_table_rsdt' has no
member
>named 'entry'
>arch/i386/kernel/srat.c:348: error: 'struct acpi_table_rsdt' has no
member
>named 'entry'
> SYSCALL arch/i386/kernel/vsyscall-syms.o
>make[1]: *** [arch/i386/kernel/srat.o] Error 1
>make[1]: *** Waiting for unfinished jobs....

Attachment: fix_i386_srat.patch
Description: fix_i386_srat.patch