Skip to contentSkip to conversation

fix typo in acpi_register_ioapic()

PATCH New Kenji Kaneshige 1 participant 1 message Sep 13, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix typo in acpi_register_ioapic()

Hi,

I found a typo in acpi_register_ioapic(). The following patch fixes this.

Thanks,
Kenji Kaneshige

This patch fixes the typo in acpi_register_ioapic().

 arch/ia64/kernel/acpi.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.14-rc1/arch/ia64/kernel/acpi.c =================================--- linux-2.6.14-rc1.orig/arch/ia64/kernel/acpi.c +++ linux-2.6.14-rc1/arch/ia64/kernel/acpi.c
@@ -899,7 +899,7 @@ int acpi_register_ioapic(acpi_handle han
if ((err = iosapic_init(phys_addr, gsi_base)))
return err;

-#if CONFIG_ACPI_NUMA
+#ifdef CONFIG_ACPI_NUMA
acpi_map_iosapic(handle, 0, NULL, NULL);
#endif /* CONFIG_ACPI_NUMA */