From 15945445ebaaf127443571652d072bb215ab048a Mon Sep 17 00:00:00 2001 From: zbao Date: Fri, 3 Aug 2012 11:47:53 +0800 Subject: AMD Parmer: Remove warning. Change-Id: I4ba2d480fa6df5ee741d887d26524b32c1901d73 Signed-off-by: Zheng Bao Signed-off-by: zbao Reviewed-on: http://review.coreboot.org/1399 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/mainboard/amd/parmer/acpi_tables.c | 2 +- src/mainboard/amd/parmer/mptable.c | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'src/mainboard/amd/parmer') diff --git a/src/mainboard/amd/parmer/acpi_tables.c b/src/mainboard/amd/parmer/acpi_tables.c index c699d5b6a7..0a64535e00 100644 --- a/src/mainboard/amd/parmer/acpi_tables.c +++ b/src/mainboard/amd/parmer/acpi_tables.c @@ -76,7 +76,7 @@ unsigned long acpi_fill_madt(unsigned long current) /* 5 mean: 0101 --> Edige-triggered, Active high */ /* create all subtables for processors */ - current += acpi_create_madt_lapic_nmi(current, 0xff, 5, 1); + current += acpi_create_madt_lapic_nmi((acpi_madt_lapic_nmi_t *)current, 0xff, 5, 1); /* 1: LINT1 connect to NMI */ return current; diff --git a/src/mainboard/amd/parmer/mptable.c b/src/mainboard/amd/parmer/mptable.c index 143920ee89..9dcc845fec 100644 --- a/src/mainboard/amd/parmer/mptable.c +++ b/src/mainboard/amd/parmer/mptable.c @@ -75,12 +75,6 @@ static void *smp_write_config_table(void *v) { struct mp_config_table *mc; int bus_isa; - int boot_apic_id; - unsigned apic_version; - unsigned cpu_features; - unsigned cpu_feature_flags; - struct cpuid_result result; - unsigned long cpu_flag; u32 dword; u8 byte; -- cgit v1.2.3