[PATCH] EFI fixes

Here's a patch that fixes EFI boot for x86 on 2.6.16-rc5-mm3.  The
off-by-one is admittedly my fault, but the other two fix up the rest.

Cc: Bjorn Helgaas <[email protected]>
Cc: Matt Domsch <[email protected]>
Cc: "Tolentino, Matthew E" <[email protected]>
Cc: "Brown, Len" <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: "Luck, Tony" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Tolentino, Matthew E 2006-03-26 01:37:09 -08:00 • committed by Linus Torvalds
commit 23dd842c00
3 changed files with 6 additions and 5 deletions

View file

@ -587,7 +587,8 @@ int __init acpi_table_init(void)
return -ENODEV;
}
rsdp = (struct acpi_table_rsdp *)__va(rsdp_phys);
rsdp = (struct acpi_table_rsdp *)__acpi_map_table(rsdp_phys,
sizeof(struct acpi_table_rsdp));
if (!rsdp) {
printk(KERN_WARNING PREFIX "Unable to map RSDP\n");
return -ENODEV;