Re: 2.6.14-rc4-mm1

From: MAEDA Naoaki
Date: Mon Oct 17 2005 - 02:17:13 EST


Hi,

From: Andrew Morton <akpm@xxxxxxxx>
Subject: 2.6.14-rc4-mm1
Date: Sun, 16 Oct 2005 15:41:08 -0700

> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.14-rc4/2.6.14-rc4-mm1/
(snip)

I've seen the following compile error on ia64.

arch/ia64/kernel/acpi-ext.c: In function `acpi_vendor_resource_match':
arch/ia64/kernel/acpi-ext.c:38: error: structure has no member named `id'
make[1]: *** [arch/ia64/kernel/acpi-ext.o] Error 1
make: *** [arch/ia64/kernel] Error 2

Attached patch fix the problem.

Thanks,
MAEDA Naoaki

------
This patch fix the following compile error on ia64.

arch/ia64/kernel/acpi-ext.c: In function `acpi_vendor_resource_match':
arch/ia64/kernel/acpi-ext.c:38: error: structure has no member named `id'

Signed-off-by: MAEDA Naoaki <maeda.naoaki@xxxxxxxxxxxxxx>

Index: linux-2.6.13/arch/ia64/kernel/acpi-ext.c
===================================================================
--- linux-2.6.13.orig/arch/ia64/kernel/acpi-ext.c
+++ linux-2.6.13/arch/ia64/kernel/acpi-ext.c
@@ -35,7 +35,7 @@ acpi_vendor_resource_match(struct acpi_r
struct acpi_vendor_descriptor *descriptor;
u32 length;

- if (resource->id != ACPI_RSTYPE_VENDOR)
+ if (resource->type != ACPI_RSTYPE_VENDOR)
return AE_OK;

vendor = (struct acpi_resource_vendor *)&resource->data;
-
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/