diff options
| author | Ingo Molnar <mingo@elte.hu> | 2008-09-04 07:02:35 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2008-09-04 07:02:35 -0400 |
| commit | 42390cdec5f6e6e2ee54f308474a6ef7dd16aa5c (patch) | |
| tree | e9684c84f53272319a5acd4b9c86503f30274a51 /arch/x86/kernel/setup.c | |
| parent | 11c231a962c740b3216eb6565149ae5a7944cba7 (diff) | |
| parent | d210baf53b699fc61aa891c177b71d7082d3b957 (diff) | |
Merge branch 'linus' into x86/x2apic
Conflicts:
arch/x86/kernel/cpu/cyrix.c
include/asm-x86/cpufeature.h
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/setup.c')
| -rw-r--r-- | arch/x86/kernel/setup.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index 59f07e14d083..673f12cf6eb0 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c | |||
| @@ -445,7 +445,7 @@ static void __init reserve_early_setup_data(void) | |||
| 445 | * @size: Size of the crashkernel memory to reserve. | 445 | * @size: Size of the crashkernel memory to reserve. |
| 446 | * Returns the base address on success, and -1ULL on failure. | 446 | * Returns the base address on success, and -1ULL on failure. |
| 447 | */ | 447 | */ |
| 448 | unsigned long long find_and_reserve_crashkernel(unsigned long long size) | 448 | unsigned long long __init find_and_reserve_crashkernel(unsigned long long size) |
| 449 | { | 449 | { |
| 450 | const unsigned long long alignment = 16<<20; /* 16M */ | 450 | const unsigned long long alignment = 16<<20; /* 16M */ |
| 451 | unsigned long long start = 0LL; | 451 | unsigned long long start = 0LL; |
| @@ -604,14 +604,6 @@ void __init setup_arch(char **cmdline_p) | |||
| 604 | early_cpu_init(); | 604 | early_cpu_init(); |
| 605 | early_ioremap_init(); | 605 | early_ioremap_init(); |
| 606 | 606 | ||
| 607 | #if defined(CONFIG_VMI) && defined(CONFIG_X86_32) | ||
| 608 | /* | ||
| 609 | * Must be before kernel pagetables are setup | ||
| 610 | * or fixmap area is touched. | ||
| 611 | */ | ||
| 612 | vmi_init(); | ||
| 613 | #endif | ||
| 614 | |||
| 615 | ROOT_DEV = old_decode_dev(boot_params.hdr.root_dev); | 607 | ROOT_DEV = old_decode_dev(boot_params.hdr.root_dev); |
| 616 | screen_info = boot_params.screen_info; | 608 | screen_info = boot_params.screen_info; |
| 617 | edid_info = boot_params.edid_info; | 609 | edid_info = boot_params.edid_info; |
| @@ -678,6 +670,14 @@ void __init setup_arch(char **cmdline_p) | |||
| 678 | 670 | ||
| 679 | parse_early_param(); | 671 | parse_early_param(); |
| 680 | 672 | ||
| 673 | #if defined(CONFIG_VMI) && defined(CONFIG_X86_32) | ||
| 674 | /* | ||
| 675 | * Must be before kernel pagetables are setup | ||
| 676 | * or fixmap area is touched. | ||
| 677 | */ | ||
| 678 | vmi_init(); | ||
| 679 | #endif | ||
| 680 | |||
| 681 | /* after early param, so could get panic from serial */ | 681 | /* after early param, so could get panic from serial */ |
| 682 | reserve_early_setup_data(); | 682 | reserve_early_setup_data(); |
| 683 | 683 | ||
