diff options
author | Len Brown <len.brown@intel.com> | 2007-02-16 22:10:32 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-02-16 22:10:32 -0500 |
commit | c0cd79d11412969b6b8fa1624cdc1277db82e2fe (patch) | |
tree | 100ee9bb6f13fc0fb3d1887516712541a5fc0769 /arch | |
parent | 81450b73dde07f473a4a7208b209b4c8b7251d90 (diff) | |
parent | db2d4ccdc8f9f3433d3a8566404189f2e9295c23 (diff) |
Pull fluff into release branch
Conflicts:
arch/x86_64/pci/mmconfig.c
drivers/acpi/bay.c
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/kernel/acpi/boot.c | 5 | ||||
-rw-r--r-- | arch/ia64/kernel/acpi.c | 4 | ||||
-rw-r--r-- | arch/x86_64/kernel/early-quirks.c | 4 |
3 files changed, 7 insertions, 6 deletions
diff --git a/arch/i386/kernel/acpi/boot.c b/arch/i386/kernel/acpi/boot.c index fb3e72328a5a..e5eb97a910ed 100644 --- a/arch/i386/kernel/acpi/boot.c +++ b/arch/i386/kernel/acpi/boot.c | |||
@@ -850,10 +850,9 @@ static inline int acpi_parse_madt_ioapic_entries(void) | |||
850 | static void __init acpi_process_madt(void) | 850 | static void __init acpi_process_madt(void) |
851 | { | 851 | { |
852 | #ifdef CONFIG_X86_LOCAL_APIC | 852 | #ifdef CONFIG_X86_LOCAL_APIC |
853 | int count, error; | 853 | int error; |
854 | 854 | ||
855 | count = acpi_table_parse(ACPI_SIG_MADT, acpi_parse_madt); | 855 | if (!acpi_table_parse(ACPI_SIG_MADT, acpi_parse_madt)) { |
856 | if (count >= 1) { | ||
857 | 856 | ||
858 | /* | 857 | /* |
859 | * Parse MADT LAPIC entries | 858 | * Parse MADT LAPIC entries |
diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c index 9197d7b361b3..3549c94467b8 100644 --- a/arch/ia64/kernel/acpi.c +++ b/arch/ia64/kernel/acpi.c | |||
@@ -651,7 +651,7 @@ int __init acpi_boot_init(void) | |||
651 | * information -- the successor to MPS tables. | 651 | * information -- the successor to MPS tables. |
652 | */ | 652 | */ |
653 | 653 | ||
654 | if (acpi_table_parse(ACPI_SIG_MADT, acpi_parse_madt) < 1) { | 654 | if (acpi_table_parse(ACPI_SIG_MADT, acpi_parse_madt)) { |
655 | printk(KERN_ERR PREFIX "Can't find MADT\n"); | 655 | printk(KERN_ERR PREFIX "Can't find MADT\n"); |
656 | goto skip_madt; | 656 | goto skip_madt; |
657 | } | 657 | } |
@@ -702,7 +702,7 @@ int __init acpi_boot_init(void) | |||
702 | * gets interrupts such as power and sleep buttons. If it's not | 702 | * gets interrupts such as power and sleep buttons. If it's not |
703 | * on a Legacy interrupt, it needs to be setup. | 703 | * on a Legacy interrupt, it needs to be setup. |
704 | */ | 704 | */ |
705 | if (acpi_table_parse(ACPI_SIG_FADT, acpi_parse_fadt) < 1) | 705 | if (acpi_table_parse(ACPI_SIG_FADT, acpi_parse_fadt)) |
706 | printk(KERN_ERR PREFIX "Can't find FADT\n"); | 706 | printk(KERN_ERR PREFIX "Can't find FADT\n"); |
707 | 707 | ||
708 | #ifdef CONFIG_SMP | 708 | #ifdef CONFIG_SMP |
diff --git a/arch/x86_64/kernel/early-quirks.c b/arch/x86_64/kernel/early-quirks.c index bd30d138113f..8047ea8c2ab2 100644 --- a/arch/x86_64/kernel/early-quirks.c +++ b/arch/x86_64/kernel/early-quirks.c | |||
@@ -53,7 +53,9 @@ static void nvidia_bugs(void) | |||
53 | return; | 53 | return; |
54 | 54 | ||
55 | nvidia_hpet_detected = 0; | 55 | nvidia_hpet_detected = 0; |
56 | acpi_table_parse(ACPI_SIG_HPET, nvidia_hpet_check); | 56 | if (acpi_table_parse(ACPI_SIG_HPET, nvidia_hpet_check)) |
57 | return; | ||
58 | |||
57 | if (nvidia_hpet_detected == 0) { | 59 | if (nvidia_hpet_detected == 0) { |
58 | acpi_skip_timer_override = 1; | 60 | acpi_skip_timer_override = 1; |
59 | printk(KERN_INFO "Nvidia board " | 61 | printk(KERN_INFO "Nvidia board " |