Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26392
b: refs/heads/master
c: 3282854
h: refs/heads/master
v: v3
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed May 2, 2006
1 parent 99f519f commit 9466138
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d2610202290b4924b71747314a0f88f28807702e
refs/heads/master: 32828546b32a96d550b85eab25609bc4ba3942ab
5 changes: 4 additions & 1 deletion trunk/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 || !cpu_has_apic)
if (!phys_addr || !size)
return -EINVAL;

madt = (struct acpi_table_madt *)__acpi_map_table(phys_addr, size);
Expand Down Expand Up @@ -1151,6 +1151,9 @@ int __init acpi_boot_init(void)

acpi_table_parse(ACPI_BOOT, acpi_parse_sbf);

if (!cpu_has_apic)
return -ENODEV;

/*
* set sci_int and PM timer address
*/
Expand Down

0 comments on commit 9466138

Please sign in to comment.