Browse Source

Fix acpi_find_rsdp() - acpi_scan_rsdp takes length, not end

Noticed by Jakub Jermar <jermar@itbs.cz>
Linus Torvalds 20 years ago
parent
commit
22490eb80c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/i386/kernel/acpi/boot.c

+ 1 - 1
arch/i386/kernel/acpi/boot.c

@@ -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;
 }
 }