Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24036
b: refs/heads/master
c: 23dd842
h: refs/heads/master
v: v3
  • Loading branch information
Tolentino, Matthew E authored and Linus Torvalds committed Mar 26, 2006
1 parent 6a16eef commit 1510dda
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b2c99e3c70d77fb194df5aa1642030080d28ea48
refs/heads/master: 23dd842c0033dbb05248c42929c3c526c55386de
2 changes: 1 addition & 1 deletion trunk/arch/i386/kernel/dmi_scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ void __init dmi_scan_machine(void)
goto out;

rc = dmi_present(p + 0x10); /* offset of _DMI_ string */
iounmap(p);
dmi_iounmap(p, 32);
if (!rc)
return;
}
Expand Down
6 changes: 3 additions & 3 deletions trunk/arch/i386/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -1058,10 +1058,10 @@ static int __init
free_available_memory(unsigned long start, unsigned long end, void *arg)
{
/* check max_low_pfn */
if (start >= ((max_low_pfn + 1) << PAGE_SHIFT))
if (start >= (max_low_pfn << PAGE_SHIFT))
return 0;
if (end >= ((max_low_pfn + 1) << PAGE_SHIFT))
end = (max_low_pfn + 1) << PAGE_SHIFT;
if (end >= (max_low_pfn << PAGE_SHIFT))
end = max_low_pfn << PAGE_SHIFT;
if (start < end)
free_bootmem(start, end - start);

Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/acpi/tables.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1510dda

Please sign in to comment.