aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2014-07-31 02:53:30 -0400
committerH. Peter Anvin <hpa@zytor.com>2014-07-31 11:05:41 -0400
commit300eddf967920d35affa75db77c50c0fa493446a (patch)
tree09bec56ee46948f0fc414c8f6e9d66c79f69e8d4
parent6ab1b27c849106647c42b3ea0681a039552e24fa (diff)
x86, apic: Remove smp_callin_clear_local_apic callback
Since commit b5660ba76b41 ("x86, platforms: Remove NUMAQ") removed NUMAQ, the smp_callin_clear_local_apic() apic callback has been obsolete. Remove it. Signed-off-by: David Rientjes <rientjes@google.com> Link: http://lkml.kernel.org/r/alpine.DEB.2.02.1407302349040.17503@chino.kir.corp.google.com Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--arch/x86/include/asm/apic.h1
-rw-r--r--arch/x86/kernel/apic/apic_flat_64.c2
-rw-r--r--arch/x86/kernel/apic/apic_noop.c1
-rw-r--r--arch/x86/kernel/apic/apic_numachip.c1
-rw-r--r--arch/x86/kernel/apic/bigsmp_32.c1
-rw-r--r--arch/x86/kernel/apic/probe_32.c1
-rw-r--r--arch/x86/kernel/apic/x2apic_cluster.c1
-rw-r--r--arch/x86/kernel/apic/x2apic_phys.c1
-rw-r--r--arch/x86/kernel/apic/x2apic_uv_x.c1
-rw-r--r--arch/x86/kernel/smpboot.c4
10 files changed, 0 insertions, 14 deletions
diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h
index 2201c262b00c..b8c1380690e7 100644
--- a/arch/x86/include/asm/apic.h
+++ b/arch/x86/include/asm/apic.h
@@ -336,7 +336,6 @@ struct apic {
336 int (*wakeup_secondary_cpu)(int apicid, unsigned long start_eip); 336 int (*wakeup_secondary_cpu)(int apicid, unsigned long start_eip);
337 337
338 bool wait_for_init_deassert; 338 bool wait_for_init_deassert;
339 void (*smp_callin_clear_local_apic)(void);
340 void (*inquire_remote_apic)(int apicid); 339 void (*inquire_remote_apic)(int apicid);
341 340
342 /* apic ops */ 341 /* apic ops */
diff --git a/arch/x86/kernel/apic/apic_flat_64.c b/arch/x86/kernel/apic/apic_flat_64.c
index 7d56b65f3ddf..a790497902e4 100644
--- a/arch/x86/kernel/apic/apic_flat_64.c
+++ b/arch/x86/kernel/apic/apic_flat_64.c
@@ -197,7 +197,6 @@ static struct apic apic_flat = {
197 .send_IPI_self = apic_send_IPI_self, 197 .send_IPI_self = apic_send_IPI_self,
198 198
199 .wait_for_init_deassert = false, 199 .wait_for_init_deassert = false,
200 .smp_callin_clear_local_apic = NULL,
201 .inquire_remote_apic = default_inquire_remote_apic, 200 .inquire_remote_apic = default_inquire_remote_apic,
202 201
203 .read = native_apic_mem_read, 202 .read = native_apic_mem_read,
@@ -311,7 +310,6 @@ static struct apic apic_physflat = {
311 .send_IPI_self = apic_send_IPI_self, 310 .send_IPI_self = apic_send_IPI_self,
312 311
313 .wait_for_init_deassert = false, 312 .wait_for_init_deassert = false,
314 .smp_callin_clear_local_apic = NULL,
315 .inquire_remote_apic = default_inquire_remote_apic, 313 .inquire_remote_apic = default_inquire_remote_apic,
316 314
317 .read = native_apic_mem_read, 315 .read = native_apic_mem_read,
diff --git a/arch/x86/kernel/apic/apic_noop.c b/arch/x86/kernel/apic/apic_noop.c
index c638efa6ad67..f05b4f090214 100644
--- a/arch/x86/kernel/apic/apic_noop.c
+++ b/arch/x86/kernel/apic/apic_noop.c
@@ -169,7 +169,6 @@ struct apic apic_noop = {
169 .wakeup_secondary_cpu = noop_wakeup_secondary_cpu, 169 .wakeup_secondary_cpu = noop_wakeup_secondary_cpu,
170 170
171 .wait_for_init_deassert = false, 171 .wait_for_init_deassert = false,
172 .smp_callin_clear_local_apic = NULL,
173 .inquire_remote_apic = NULL, 172 .inquire_remote_apic = NULL,
174 173
175 .read = noop_apic_read, 174 .read = noop_apic_read,
diff --git a/arch/x86/kernel/apic/apic_numachip.c b/arch/x86/kernel/apic/apic_numachip.c
index c32f8827e3a4..c0d9165be0d7 100644
--- a/arch/x86/kernel/apic/apic_numachip.c
+++ b/arch/x86/kernel/apic/apic_numachip.c
@@ -247,7 +247,6 @@ static const struct apic apic_numachip __refconst = {
247 247
248 .wakeup_secondary_cpu = numachip_wakeup_secondary, 248 .wakeup_secondary_cpu = numachip_wakeup_secondary,
249 .wait_for_init_deassert = false, 249 .wait_for_init_deassert = false,
250 .smp_callin_clear_local_apic = NULL,
251 .inquire_remote_apic = NULL, /* REMRD not supported */ 250 .inquire_remote_apic = NULL, /* REMRD not supported */
252 251
253 .read = native_apic_mem_read, 252 .read = native_apic_mem_read,
diff --git a/arch/x86/kernel/apic/bigsmp_32.c b/arch/x86/kernel/apic/bigsmp_32.c
index 74ffd3eb681e..eb159163064c 100644
--- a/arch/x86/kernel/apic/bigsmp_32.c
+++ b/arch/x86/kernel/apic/bigsmp_32.c
@@ -197,7 +197,6 @@ static struct apic apic_bigsmp = {
197 .send_IPI_self = default_send_IPI_self, 197 .send_IPI_self = default_send_IPI_self,
198 198
199 .wait_for_init_deassert = true, 199 .wait_for_init_deassert = true,
200 .smp_callin_clear_local_apic = NULL,
201 .inquire_remote_apic = default_inquire_remote_apic, 200 .inquire_remote_apic = default_inquire_remote_apic,
202 201
203 .read = native_apic_mem_read, 202 .read = native_apic_mem_read,
diff --git a/arch/x86/kernel/apic/probe_32.c b/arch/x86/kernel/apic/probe_32.c
index 64248c7149e3..5b617a92af0e 100644
--- a/arch/x86/kernel/apic/probe_32.c
+++ b/arch/x86/kernel/apic/probe_32.c
@@ -117,7 +117,6 @@ static struct apic apic_default = {
117 .send_IPI_self = default_send_IPI_self, 117 .send_IPI_self = default_send_IPI_self,
118 118
119 .wait_for_init_deassert = true, 119 .wait_for_init_deassert = true,
120 .smp_callin_clear_local_apic = NULL,
121 .inquire_remote_apic = default_inquire_remote_apic, 120 .inquire_remote_apic = default_inquire_remote_apic,
122 121
123 .read = native_apic_mem_read, 122 .read = native_apic_mem_read,
diff --git a/arch/x86/kernel/apic/x2apic_cluster.c b/arch/x86/kernel/apic/x2apic_cluster.c
index 8b3200cc57e3..d96cab15f6f4 100644
--- a/arch/x86/kernel/apic/x2apic_cluster.c
+++ b/arch/x86/kernel/apic/x2apic_cluster.c
@@ -278,7 +278,6 @@ static struct apic apic_x2apic_cluster = {
278 .send_IPI_self = x2apic_send_IPI_self, 278 .send_IPI_self = x2apic_send_IPI_self,
279 279
280 .wait_for_init_deassert = false, 280 .wait_for_init_deassert = false,
281 .smp_callin_clear_local_apic = NULL,
282 .inquire_remote_apic = NULL, 281 .inquire_remote_apic = NULL,
283 282
284 .read = native_apic_msr_read, 283 .read = native_apic_msr_read,
diff --git a/arch/x86/kernel/apic/x2apic_phys.c b/arch/x86/kernel/apic/x2apic_phys.c
index 14c189151910..73d0fee6d0cd 100644
--- a/arch/x86/kernel/apic/x2apic_phys.c
+++ b/arch/x86/kernel/apic/x2apic_phys.c
@@ -132,7 +132,6 @@ static struct apic apic_x2apic_phys = {
132 .send_IPI_self = x2apic_send_IPI_self, 132 .send_IPI_self = x2apic_send_IPI_self,
133 133
134 .wait_for_init_deassert = false, 134 .wait_for_init_deassert = false,
135 .smp_callin_clear_local_apic = NULL,
136 .inquire_remote_apic = NULL, 135 .inquire_remote_apic = NULL,
137 136
138 .read = native_apic_msr_read, 137 .read = native_apic_msr_read,
diff --git a/arch/x86/kernel/apic/x2apic_uv_x.c b/arch/x86/kernel/apic/x2apic_uv_x.c
index 58f098880058..cc5d40e6c85d 100644
--- a/arch/x86/kernel/apic/x2apic_uv_x.c
+++ b/arch/x86/kernel/apic/x2apic_uv_x.c
@@ -395,7 +395,6 @@ static struct apic __refdata apic_x2apic_uv_x = {
395 395
396 .wakeup_secondary_cpu = uv_wakeup_secondary, 396 .wakeup_secondary_cpu = uv_wakeup_secondary,
397 .wait_for_init_deassert = false, 397 .wait_for_init_deassert = false,
398 .smp_callin_clear_local_apic = NULL,
399 .inquire_remote_apic = NULL, 398 .inquire_remote_apic = NULL,
400 399
401 .read = native_apic_msr_read, 400 .read = native_apic_msr_read,
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index 5492798930ef..f0f3b194e9f9 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -168,10 +168,6 @@ static void smp_callin(void)
168 * CPU, first the APIC. (this is probably redundant on most 168 * CPU, first the APIC. (this is probably redundant on most
169 * boards) 169 * boards)
170 */ 170 */
171
172 pr_debug("CALLIN, before setup_local_APIC()\n");
173 if (apic->smp_callin_clear_local_apic)
174 apic->smp_callin_clear_local_apic();
175 setup_local_APIC(); 171 setup_local_APIC();
176 end_local_APIC_setup(); 172 end_local_APIC_setup();
177 173