diff options
Diffstat (limited to 'arch/i386/kernel/setup.c')
-rw-r--r-- | arch/i386/kernel/setup.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/i386/kernel/setup.c b/arch/i386/kernel/setup.c index 294bcca985ab..a659d274914c 100644 --- a/arch/i386/kernel/setup.c +++ b/arch/i386/kernel/setup.c | |||
@@ -82,19 +82,19 @@ EXPORT_SYMBOL(efi_enabled); | |||
82 | /* cpu data as detected by the assembly code in head.S */ | 82 | /* cpu data as detected by the assembly code in head.S */ |
83 | struct cpuinfo_x86 new_cpu_data __initdata = { 0, 0, 0, 0, -1, 1, 0, 0, -1 }; | 83 | struct cpuinfo_x86 new_cpu_data __initdata = { 0, 0, 0, 0, -1, 1, 0, 0, -1 }; |
84 | /* common cpu data for all cpus */ | 84 | /* common cpu data for all cpus */ |
85 | struct cpuinfo_x86 boot_cpu_data = { 0, 0, 0, 0, -1, 1, 0, 0, -1 }; | 85 | struct cpuinfo_x86 boot_cpu_data __read_mostly = { 0, 0, 0, 0, -1, 1, 0, 0, -1 }; |
86 | EXPORT_SYMBOL(boot_cpu_data); | 86 | EXPORT_SYMBOL(boot_cpu_data); |
87 | 87 | ||
88 | unsigned long mmu_cr4_features; | 88 | unsigned long mmu_cr4_features; |
89 | 89 | ||
90 | #ifdef CONFIG_ACPI_INTERPRETER | 90 | #ifdef CONFIG_ACPI |
91 | int acpi_disabled = 0; | 91 | int acpi_disabled = 0; |
92 | #else | 92 | #else |
93 | int acpi_disabled = 1; | 93 | int acpi_disabled = 1; |
94 | #endif | 94 | #endif |
95 | EXPORT_SYMBOL(acpi_disabled); | 95 | EXPORT_SYMBOL(acpi_disabled); |
96 | 96 | ||
97 | #ifdef CONFIG_ACPI_BOOT | 97 | #ifdef CONFIG_ACPI |
98 | int __initdata acpi_force = 0; | 98 | int __initdata acpi_force = 0; |
99 | extern acpi_interrupt_flags acpi_sci_flags; | 99 | extern acpi_interrupt_flags acpi_sci_flags; |
100 | #endif | 100 | #endif |
@@ -798,7 +798,7 @@ static void __init parse_cmdline_early (char ** cmdline_p) | |||
798 | } | 798 | } |
799 | #endif | 799 | #endif |
800 | 800 | ||
801 | #ifdef CONFIG_ACPI_BOOT | 801 | #ifdef CONFIG_ACPI |
802 | /* "acpi=off" disables both ACPI table parsing and interpreter */ | 802 | /* "acpi=off" disables both ACPI table parsing and interpreter */ |
803 | else if (!memcmp(from, "acpi=off", 8)) { | 803 | else if (!memcmp(from, "acpi=off", 8)) { |
804 | disable_acpi(); | 804 | disable_acpi(); |
@@ -854,7 +854,7 @@ static void __init parse_cmdline_early (char ** cmdline_p) | |||
854 | else if (!memcmp(from, "noapic", 6)) | 854 | else if (!memcmp(from, "noapic", 6)) |
855 | disable_ioapic_setup(); | 855 | disable_ioapic_setup(); |
856 | #endif /* CONFIG_X86_LOCAL_APIC */ | 856 | #endif /* CONFIG_X86_LOCAL_APIC */ |
857 | #endif /* CONFIG_ACPI_BOOT */ | 857 | #endif /* CONFIG_ACPI */ |
858 | 858 | ||
859 | #ifdef CONFIG_X86_LOCAL_APIC | 859 | #ifdef CONFIG_X86_LOCAL_APIC |
860 | /* enable local APIC */ | 860 | /* enable local APIC */ |
@@ -1579,7 +1579,7 @@ void __init setup_arch(char **cmdline_p) | |||
1579 | if (efi_enabled) | 1579 | if (efi_enabled) |
1580 | efi_map_memmap(); | 1580 | efi_map_memmap(); |
1581 | 1581 | ||
1582 | #ifdef CONFIG_ACPI_BOOT | 1582 | #ifdef CONFIG_ACPI |
1583 | /* | 1583 | /* |
1584 | * Parse the ACPI tables for possible boot-time SMP configuration. | 1584 | * Parse the ACPI tables for possible boot-time SMP configuration. |
1585 | */ | 1585 | */ |