diff options
author | Alexey Starikovskiy <alexey.y.starikovskiy@intel.com> | 2007-02-02 11:48:22 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-02-02 21:14:28 -0500 |
commit | cee324b145a1e5488b34191de670e5ed1d346ebb (patch) | |
tree | 9e00f815bda0db1a134b23c9495a71e643724c58 /arch/i386/kernel/acpi/boot.c | |
parent | ceb6c46839021d5c7c338d48deac616944660124 (diff) |
ACPICA: use new ACPI headers.
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch/i386/kernel/acpi/boot.c')
-rw-r--r-- | arch/i386/kernel/acpi/boot.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/i386/kernel/acpi/boot.c b/arch/i386/kernel/acpi/boot.c index 543eac5da176..cbbcf9c630bf 100644 --- a/arch/i386/kernel/acpi/boot.c +++ b/arch/i386/kernel/acpi/boot.c | |||
@@ -357,7 +357,7 @@ static void __init acpi_sci_ioapic_setup(u32 gsi, u16 polarity, u16 trigger) | |||
357 | 357 | ||
358 | /* | 358 | /* |
359 | * stash over-ride to indicate we've been here | 359 | * stash over-ride to indicate we've been here |
360 | * and for later update of acpi_fadt | 360 | * and for later update of acpi_gbl_FADT |
361 | */ | 361 | */ |
362 | acpi_sci_override_gsi = gsi; | 362 | acpi_sci_override_gsi = gsi; |
363 | return; | 363 | return; |
@@ -376,7 +376,7 @@ acpi_parse_int_src_ovr(acpi_table_entry_header * header, | |||
376 | 376 | ||
377 | acpi_table_print_madt_entry(header); | 377 | acpi_table_print_madt_entry(header); |
378 | 378 | ||
379 | if (intsrc->bus_irq == acpi_fadt.sci_int) { | 379 | if (intsrc->bus_irq == acpi_gbl_FADT.sci_interrupt) { |
380 | acpi_sci_ioapic_setup(intsrc->global_irq, | 380 | acpi_sci_ioapic_setup(intsrc->global_irq, |
381 | intsrc->flags.polarity, | 381 | intsrc->flags.polarity, |
382 | intsrc->flags.trigger); | 382 | intsrc->flags.trigger); |
@@ -709,9 +709,9 @@ extern u32 pmtmr_ioport; | |||
709 | 709 | ||
710 | static int __init acpi_parse_fadt(struct acpi_table_header *header) | 710 | static int __init acpi_parse_fadt(struct acpi_table_header *header) |
711 | { | 711 | { |
712 | struct fadt_descriptor *fadt = NULL; | 712 | struct acpi_table_fadt *fadt = NULL; |
713 | 713 | ||
714 | fadt = (struct fadt_descriptor *)header; | 714 | fadt = (struct acpi_table_fadt *)header; |
715 | if (!fadt) { | 715 | if (!fadt) { |
716 | printk(KERN_WARNING PREFIX "Unable to map FADT\n"); | 716 | printk(KERN_WARNING PREFIX "Unable to map FADT\n"); |
717 | return 0; | 717 | return 0; |
@@ -873,7 +873,7 @@ static int __init acpi_parse_madt_ioapic_entries(void) | |||
873 | * pretend we got one so we can set the SCI flags. | 873 | * pretend we got one so we can set the SCI flags. |
874 | */ | 874 | */ |
875 | if (!acpi_sci_override_gsi) | 875 | if (!acpi_sci_override_gsi) |
876 | acpi_sci_ioapic_setup(acpi_fadt.sci_int, 0, 0); | 876 | acpi_sci_ioapic_setup(acpi_gbl_FADT.sci_interrupt, 0, 0); |
877 | 877 | ||
878 | /* Fill in identity legacy mapings where no override */ | 878 | /* Fill in identity legacy mapings where no override */ |
879 | mp_config_acpi_legacy_irqs(); | 879 | mp_config_acpi_legacy_irqs(); |