Fix acpi_find_rsdp() - acpi_scan_rsdp takes length, not end
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 6 May 2005 22:39:23 +0000 (15:39 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 6 May 2005 22:39:23 +0000 (15:39 -0700)
Noticed by Jakub Jermar <jermar@itbs.cz>

arch/i386/kernel/acpi/boot.c

index 53eb5cfd5b630b614952ba31a08e384abb8a2f1a..848bb97af7ca316755f6e47e612ecc75717fb197 100644 (file)
@@ -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;
 }