Skip to content

Commit

Permalink
Pull novell-bugzilla-156426 into release branch
Browse files Browse the repository at this point in the history
Conflicts:

	arch/i386/kernel/acpi/boot.c
  • Loading branch information
Len Brown committed Jun 15, 2006
2 parents 6351847 + 9cfda2c commit 4e8f10b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/i386/kernel/acpi/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ static int __init acpi_parse_madt(unsigned long phys_addr, unsigned long size)
{
struct acpi_table_madt *madt = NULL;

if (!phys_addr || !size)
if (!phys_addr || !size || !cpu_has_apic)
return -EINVAL;

madt = (struct acpi_table_madt *)__acpi_map_table(phys_addr, size);
Expand Down Expand Up @@ -754,7 +754,7 @@ static int __init acpi_parse_madt_ioapic_entries(void)
return -ENODEV;
}

if (!cpu_has_apic)
if (!cpu_has_apic)
return -ENODEV;

/*
Expand Down

0 comments on commit 4e8f10b

Please sign in to comment.