aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/apic/es7000_32.c
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2014-02-05 02:55:01 -0500
committerIngo Molnar <mingo@kernel.org>2014-02-09 09:15:08 -0500
commit465822cfc8cb850ba76046965cc7b6fd1f8c3d73 (patch)
tree4d652719f6dd8864a85f8455381c23cfe6495305 /arch/x86/kernel/apic/es7000_32.c
parentd3c63ae1e2e35e4250390c079dc3fb7291347f5c (diff)
x86/apic: Switch wait_for_init_deassert() to a bool flag
Now that there is only a single wait_for_init_deassert() function, just convert the member of struct apic to a bool to determine whether we need to wait for init_deassert to become non-zero. There are no more callers of default_wait_for_init_deassert(), so fold it into the caller. 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.1402042354010.7839@chino.kir.corp.google.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/apic/es7000_32.c')
-rw-r--r--arch/x86/kernel/apic/es7000_32.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/x86/kernel/apic/es7000_32.c b/arch/x86/kernel/apic/es7000_32.c
index d03d57e0a806..6f8f8b348a39 100644
--- a/arch/x86/kernel/apic/es7000_32.c
+++ b/arch/x86/kernel/apic/es7000_32.c
@@ -652,8 +652,7 @@ static struct apic __refdata apic_es7000_cluster = {
652 .trampoline_phys_low = 0x467, 652 .trampoline_phys_low = 0x467,
653 .trampoline_phys_high = 0x469, 653 .trampoline_phys_high = 0x469,
654 654
655 .wait_for_init_deassert = NULL, 655 .wait_for_init_deassert = false,
656
657 /* Nothing to do for most platforms, since cleared by the INIT cycle: */ 656 /* Nothing to do for most platforms, since cleared by the INIT cycle: */
658 .smp_callin_clear_local_apic = NULL, 657 .smp_callin_clear_local_apic = NULL,
659 .inquire_remote_apic = default_inquire_remote_apic, 658 .inquire_remote_apic = default_inquire_remote_apic,
@@ -716,8 +715,7 @@ static struct apic __refdata apic_es7000 = {
716 .trampoline_phys_low = 0x467, 715 .trampoline_phys_low = 0x467,
717 .trampoline_phys_high = 0x469, 716 .trampoline_phys_high = 0x469,
718 717
719 .wait_for_init_deassert = default_wait_for_init_deassert, 718 .wait_for_init_deassert = true,
720
721 /* Nothing to do for most platforms, since cleared by the INIT cycle: */ 719 /* Nothing to do for most platforms, since cleared by the INIT cycle: */
722 .smp_callin_clear_local_apic = NULL, 720 .smp_callin_clear_local_apic = NULL,
723 .inquire_remote_apic = default_inquire_remote_apic, 721 .inquire_remote_apic = default_inquire_remote_apic,