diff options
author | David Rientjes <rientjes@google.com> | 2014-02-05 02:55:06 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-02-09 09:15:11 -0500 |
commit | dc9788f40a769d967de3eb5a7aee8c1a70094d32 (patch) | |
tree | 3ac3cbc1a35f7ea668b812818a472f4cec72850e /arch/x86/include/asm/apic.h | |
parent | 6d4989835e5418fdfda764fce7294246f80cf464 (diff) |
x86/apic: Always define nox2apic and define it as initdata
The "nox2apic" variable can be defined as __initdata since it is
only used for bootstrap. It can now unconditionally be defined
since it will later be freed.
At the same time, it is also better off as a bool.
Signed-off-by: David Rientjes <rientjes@google.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/alpine.DEB.2.02.1402042354380.7839@chino.kir.corp.google.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/include/asm/apic.h')
-rw-r--r-- | arch/x86/include/asm/apic.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h index b4c561dbe3ba..19b0ebafcd3e 100644 --- a/arch/x86/include/asm/apic.h +++ b/arch/x86/include/asm/apic.h | |||
@@ -217,7 +217,6 @@ static inline void x2apic_force_phys(void) | |||
217 | { | 217 | { |
218 | } | 218 | } |
219 | 219 | ||
220 | #define nox2apic 0 | ||
221 | #define x2apic_preenabled 0 | 220 | #define x2apic_preenabled 0 |
222 | #define x2apic_supported() 0 | 221 | #define x2apic_supported() 0 |
223 | #endif | 222 | #endif |