mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
Fix acpi_find_rsdp() - acpi_scan_rsdp takes length, not end
Noticed by Jakub Jermar <jermar@itbs.cz>
This commit is contained in:
parent
b3214970ab
commit
22490eb80c
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user