Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99887
b: refs/heads/master
c: 7465252
h: refs/heads/master
i:
  99885: 91784c1
  99883: 0181d3f
  99879: df7e7d3
  99871: a27bf7f
v: v3
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed Jul 8, 2008
1 parent 753a140 commit 29c740e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 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: 11cd0bc140b5d66566c9eb49c1058737888cd75c
refs/heads/master: 7465252ea0121c9cd28be68dfb86293a7554a111
17 changes: 8 additions & 9 deletions trunk/arch/x86/kernel/setup_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -336,14 +336,6 @@ void __init setup_arch(char **cmdline_p)
early_ioremap_init();
reserve_setup_data();

#ifdef CONFIG_EFI
if (!strncmp((char *)&boot_params.efi_info.efi_loader_signature,
"EL32", 4)) {
efi_enabled = 1;
efi_reserve_early();
}
#endif

ROOT_DEV = old_decode_dev(boot_params.hdr.root_dev);
screen_info = boot_params.screen_info;
edid_info = boot_params.edid_info;
Expand All @@ -363,10 +355,17 @@ void __init setup_arch(char **cmdline_p)
rd_prompt = ((boot_params.hdr.ram_size & RAMDISK_PROMPT_FLAG) != 0);
rd_doload = ((boot_params.hdr.ram_size & RAMDISK_LOAD_FLAG) != 0);
#endif
#ifdef CONFIG_EFI
if (!strncmp((char *)&boot_params.efi_info.efi_loader_signature,
"EL32", 4)) {
efi_enabled = 1;
efi_reserve_early();
}
#endif

ARCH_SETUP

setup_memory_map();

copy_edd();

if (!boot_params.hdr.root_flags)
Expand Down

0 comments on commit 29c740e

Please sign in to comment.