diff options
author | David Rientjes <rientjes@google.com> | 2014-02-04 23:55:06 -0800 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-02-09 15:15:11 +0100 |
commit | dc9788f40a769d967de3eb5a7aee8c1a70094d32 (patch) | |
tree | 3ac3cbc1a35f7ea668b812818a472f4cec72850e /arch/x86/include/asm/apic.h | |
parent | 6d4989835e5418fdfda764fce7294246f80cf464 (diff) | |
download | blackbird-op-linux-dc9788f40a769d967de3eb5a7aee8c1a70094d32.tar.gz blackbird-op-linux-dc9788f40a769d967de3eb5a7aee8c1a70094d32.zip |
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) { } -#define nox2apic 0 #define x2apic_preenabled 0 #define x2apic_supported() 0 #endif |