Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422967AbXBAThW (ORCPT ); Thu, 1 Feb 2007 14:37:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1422964AbXBAThW (ORCPT ); Thu, 1 Feb 2007 14:37:22 -0500 Received: from mga03.intel.com ([143.182.124.21]:18970 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1422968AbXBAThV (ORCPT ); Thu, 1 Feb 2007 14:37:21 -0500 X-ExtLoop1: 1 X-IronPort-AV: i="4.13,268,1167638400"; d="scan'208"; a="175933547:sNHT13260388806" X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C74638.58FC6FE5" Subject: RE: 2.6.20-rc6-mm3 Date: Thu, 1 Feb 2007 22:37:01 +0300 Message-ID: In-Reply-To: <45C23046.8000303@fr.ibm.com> X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: 2.6.20-rc6-mm3 Thread-Index: AcdGLnUfkKHLpCvjSA2iPRezbD0euQACY0yw From: "Starikovskiy, Alexey Y" To: "Cedric Le Goater" , "Andrew Morton" Cc: , "Moore, Robert" , "keith mannthey" X-OriginalArrivalTime: 01 Feb 2007 19:37:06.0880 (UTC) FILETIME=[5B64E400:01C74638] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 13658 Lines: 247 This is a multi-part message in MIME format. ------_=_NextPart_001_01C74638.58FC6FE5 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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@fr.ibm.com] >Sent: Thursday, February 01, 2007 9:24 PM >To: Andrew Morton >Cc: linux-kernel@vger.kernel.org; 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.... ------_=_NextPart_001_01C74638.58FC6FE5 Content-Type: application/octet-stream; name="fix_i386_srat.patch" Content-Transfer-Encoding: base64 Content-Description: fix_i386_srat.patch Content-Disposition: attachment; filename="fix_i386_srat.patch" TWFrZSBzcmF0LmMgaW4gaTM4NiBjb21waWxlIGFnYWluLgoKRnJvbTogQWxleGV5IFN0YXJpa292 c2tpeSA8YWxleGV5Lnkuc3Rhcmlrb3Zza2l5QGxpbnV4LmludGVsLmNvbT4KCgotLS0KCiBhcmNo L2kzODYva2VybmVsL3NyYXQuYyB8ICAgNzcgKysrKysrKysrKysrKysrKysrKysrKystLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0KIDEgZmlsZXMgY2hhbmdlZCwgMzcgaW5zZXJ0aW9ucygrKSwgNDAg ZGVsZXRpb25zKC0pCgpkaWZmIC0tZ2l0IGEvYXJjaC9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bXAoKGNoYXIgKikgJmhlYWRlci0+c2lnbmF0dXJlLCBBQ1BJX1NJ R19TUkFULCA0KSkKIAkJCWNvbnRpbnVlOwogCiAJCS8qIHdlJ3ZlIGZvdW5kIHRoZSBzcmF0IHRh YmxlLiBkb24ndCBuZWVkIHRvIGxvb2sgYXQgYW55IG1vcmUgdGFibGVzICovCg== ------_=_NextPart_001_01C74638.58FC6FE5-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/