Skip to contentSkip to conversation

mm trivial ia64/acpi breakage

PATCH In review Alex Williamson 2 participants 2 messages Oct 17, 2005 – Oct 22, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mm trivial ia64/acpi breakage

The git-acpi.patch changed the name of the "id" member of the
acpi_resource structure, but missed the below user. Updating to the new name.

arch/ia64/kernel/acpi-ext.c +1 -1
diff -r 6bf6e9fcc962 arch/ia64/kernel/acpi-ext.c
@@ -35,7 +35,7 @@
 	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;
#1 lore raw

arch/ia64/kernel/acpi-ext.c line 38

Quoted 2 lines · Alex
arch/ia64/kernel/acpi-ext.c +1 -1
-	if (resource->id != ACPI_RSTYPE_VENDOR)
+	if (resource->type != ACPI_RSTYPE_VENDOR)

Yup - ia64 *.mm builds much better with this. Thanks.

Signature · 3 lines
                  I won't rest till it's the best ...
                  Programmer, Linux Scalability
                  Paul Jackson <[email protected]> 1.925.600.0401