From df08a1d19697fe4bfc956c5664e8eb5ba6669bd6 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 8 Feb 2005 09:29:19 +0000 Subject: [PATCH] generous iteration on the device tree removed. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1910 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/arch/i386/include/arch/acpi.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/arch/i386/include/arch/acpi.h b/src/arch/i386/include/arch/acpi.h index ab683eb4a6..d51195527c 100644 --- a/src/arch/i386/include/arch/acpi.h +++ b/src/arch/i386/include/arch/acpi.h @@ -236,12 +236,9 @@ void acpi_create_facs(acpi_facs_t *facs); void acpi_write_rsdt(acpi_rsdt_t *rsdt); void acpi_write_rsdp(acpi_rsdp_t *rsdp, acpi_rsdt_t *rsdt); -#define ACPI_WRITE_MADT_IOAPIC(bus,device,fn,id) \ +#define ACPI_WRITE_MADT_IOAPIC(dev,id) \ do { \ - device_t dev; \ struct resource *res; \ - dev = dev_find_slot(bus, PCI_DEVFN(device,fn)); \ - if (!dev) break; \ res = find_resource(dev, PCI_BASE_ADDRESS_0); \ if (!res) break; \ current += acpi_create_madt_ioapic( \