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 53eb5cf..848bb97 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;
 }