Fix acpi_find_rsdp() - acpi_scan_rsdp takes length, not end

Noticed by Jakub Jermar <jermar@itbs.cz>
This commit is contained in:
Linus Torvalds 2005-05-06 15:39:23 -07:00
parent b3214970ab
commit 22490eb80c

View File

@ -650,7 +650,7 @@ acpi_find_rsdp (void)
*/ */
rsdp_phys = acpi_scan_rsdp (0, 0x400); rsdp_phys = acpi_scan_rsdp (0, 0x400);
if (!rsdp_phys) if (!rsdp_phys)
rsdp_phys = acpi_scan_rsdp (0xE0000, 0xFFFFF); rsdp_phys = acpi_scan_rsdp (0xE0000, 0x20000);
return rsdp_phys; return rsdp_phys;
} }