]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86/apic: Always define nox2apic and define it as initdata
authorDavid Rientjes <rientjes@google.com>
Wed, 5 Feb 2014 07:55:06 +0000 (23:55 -0800)
committerIngo Molnar <mingo@kernel.org>
Sun, 9 Feb 2014 14:15:11 +0000 (15:15 +0100)
commitdc9788f40a769d967de3eb5a7aee8c1a70094d32
tree3ac3cbc1a35f7ea668b812818a472f4cec72850e
parent6d4989835e5418fdfda764fce7294246f80cf464
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>
arch/x86/include/asm/apic.h
arch/x86/kernel/apic/apic.c