Drop unused ACPI_WRITE_MADT_IOAPIC #define.
This should probably be C code in some .c file anyway. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6116 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
0d5a6accc8
commit
9b5295f522
|
@ -431,17 +431,6 @@ unsigned long acpi_add_ssdt_pstates(acpi_rsdp_t *rsdp, unsigned long current);
|
||||||
/* cpu/intel/speedstep/acpi.c */
|
/* cpu/intel/speedstep/acpi.c */
|
||||||
void generate_cpu_entries(void);
|
void generate_cpu_entries(void);
|
||||||
|
|
||||||
#define ACPI_WRITE_MADT_IOAPIC(dev,id) \
|
|
||||||
do { \
|
|
||||||
struct resource *res; \
|
|
||||||
res = find_resource(dev, PCI_BASE_ADDRESS_0); \
|
|
||||||
if (!res) break; \
|
|
||||||
current += acpi_create_madt_ioapic( \
|
|
||||||
(acpi_madt_ioapic_t *)current, \
|
|
||||||
id, res->base, gsi_base); \
|
|
||||||
gsi_base += 4; \
|
|
||||||
} while(0);
|
|
||||||
|
|
||||||
#else // CONFIG_GENERATE_ACPI_TABLES
|
#else // CONFIG_GENERATE_ACPI_TABLES
|
||||||
|
|
||||||
#define write_acpi_tables(start) (start)
|
#define write_acpi_tables(start) (start)
|
||||||
|
|
Loading…
Reference in New Issue