Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113358
b: refs/heads/master
c: 2216d19
h: refs/heads/master
v: v3
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed Sep 22, 2008
1 parent fedcf3f commit 100589a
Show file tree
Hide file tree
Showing 2 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: 5871c6b0a52bb052c3891a787655043b90ae18e3
refs/heads/master: 2216d199b1430d1c0affb1498a9ebdbd9c0de439
11 changes: 6 additions & 5 deletions trunk/arch/x86/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,8 @@ static int __init dmi_low_memory_corruption(const struct dmi_system_id *d)
"%s detected: BIOS may corrupt low RAM, working it around.\n",
d->ident);

reserve_early_overlap_ok(0x0, 0x10000, "BIOS quirk");
e820_update_range(0, 0x10000, E820_RAM, E820_RESERVED);
sanitize_e820_map(e820.map, ARRAY_SIZE(e820.map), &e820.nr_map);

return 0;
}
Expand Down Expand Up @@ -784,8 +785,6 @@ void __init setup_arch(char **cmdline_p)
printk(KERN_INFO "Command line: %s\n", boot_command_line);
#endif

dmi_check_system(bad_bios_dmi_table);

early_cpu_init();
early_ioremap_init();

Expand Down Expand Up @@ -880,6 +879,10 @@ void __init setup_arch(char **cmdline_p)

finish_e820_parsing();

dmi_scan_machine();

dmi_check_system(bad_bios_dmi_table);

#ifdef CONFIG_X86_32
probe_roms();
#endif
Expand Down Expand Up @@ -967,8 +970,6 @@ void __init setup_arch(char **cmdline_p)
vsmp_init();
#endif

dmi_scan_machine();

io_delay_init();

/*
Expand Down

0 comments on commit 100589a

Please sign in to comment.