summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-06 15:39:23 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-06 15:39:23 -0700
commit22490eb80ceb4ac07ef36fff253904fb4adf57f2 (patch)
treed171a1f225cbf388a6b1ec07b0f15eddff237ec5
parentb3214970abbe983cd89842ae24ea00e21bba79f6 (diff)
downloadlinux-22490eb80ceb4ac07ef36fff253904fb4adf57f2.tar.bz2
Fix acpi_find_rsdp() - acpi_scan_rsdp takes length, not end
Noticed by Jakub Jermar <jermar@itbs.cz>
-rw-r--r--arch/i386/kernel/acpi/boot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/acpi/boot.c b/arch/i386/kernel/acpi/boot.c
index 53eb5cfd5b63..848bb97af7ca 100644
--- a/arch/i386/kernel/acpi/boot.c
+++ b/arch/i386/kernel/acpi/boot.c
@@ -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;
}