Skip to content

Commit

Permalink
x86: build fix
Browse files Browse the repository at this point in the history
fix:

arch/x86/kernel/setup_32.c:409: error: 'enable_local_apic' undeclared (first use in this function)
arch/x86/kernel/setup_32.c:409: error: (Each undeclared identifier is reported only once
arch/x86/kernel/setup_32.c:409: error: for each function it appears in.)

Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Jul 8, 2008
1 parent 346cafe commit 3eb11ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/x86/kernel/setup_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,9 @@ void __init setup_arch(char **cmdline_p)
parse_early_param();

if (acpi_mps_check()){
#ifdef CONFIG_X86_LOCAL_APIC
enable_local_apic = -1;
#endif
clear_cpu_cap(&boot_cpu_data, X86_FEATURE_APIC);
}

Expand Down

0 comments on commit 3eb11ed

Please sign in to comment.