Skip to content

Commit

Permalink
Fix acpi_find_rsdp() - acpi_scan_rsdp takes length, not end
Browse files Browse the repository at this point in the history
Noticed by Jakub Jermar <jermar@itbs.cz>
  • Loading branch information
Linus Torvalds committed May 6, 2005
1 parent b321497 commit 22490eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/i386/kernel/acpi/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ acpi_find_rsdp (void)
*/
rsdp_phys = acpi_scan_rsdp (0, 0x400);
if (!rsdp_phys)
rsdp_phys = acpi_scan_rsdp (0xE0000, 0xFFFFF);
rsdp_phys = acpi_scan_rsdp (0xE0000, 0x20000);

return rsdp_phys;
}
Expand Down

0 comments on commit 22490eb

Please sign in to comment.