[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 <bjorn.helgaas@hp.com> Cc: Matt Domsch <Matt_Domsch@dell.com> Cc: "Tolentino, Matthew E" <matthew.e.tolentino@intel.com> Cc: "Brown, Len" <len.brown@intel.com> Cc: Andi Kleen <ak@muc.de> Cc: "Luck, Tony" <tony.luck@intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
b2c99e3c70
commit
23dd842c00
@@ -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;
|
||||
|
Reference in New Issue
Block a user