Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 136605
b: refs/heads/master
c: 333344d
h: refs/heads/master
i:
  136603: 7b70eed
v: v3
  • Loading branch information
Ingo Molnar committed Jan 28, 2009
1 parent 806bb11 commit 51814a0
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 20 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a965936643e28af8152d9e960b966baa1a5588a2
refs/heads/master: 333344d94300500e401cffb4eea10a5ab6e5a41d
5 changes: 0 additions & 5 deletions trunk/arch/x86/include/asm/es7000/wakecpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ static inline void es7000_wait_for_init_deassert(atomic_t *deassert)
return;
}

/* Nothing to do for most platforms, since cleared by the INIT cycle */
static inline void smp_callin_clear_local_apic(void)
{
}

static inline void store_NMI_vector(unsigned short *high, unsigned short *low)
{
}
Expand Down
5 changes: 0 additions & 5 deletions trunk/arch/x86/include/asm/mach-default/mach_wakecpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ static inline void default_wait_for_init_deassert(atomic_t *deassert)
return;
}

/* Nothing to do for most platforms, since cleared by the INIT cycle */
static inline void smp_callin_clear_local_apic(void)
{
}

static inline void store_NMI_vector(unsigned short *high, unsigned short *low)
{
}
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/x86/include/asm/mach-generic/mach_wakecpu.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef _ASM_X86_MACH_GENERIC_MACH_WAKECPU_H
#define _ASM_X86_MACH_GENERIC_MACH_WAKECPU_H

#define smp_callin_clear_local_apic (apic->smp_callin_clear_local_apic)
#define store_NMI_vector (apic->store_NMI_vector)
#define restore_NMI_vector (apic->restore_NMI_vector)
#define inquire_remote_apic (apic->inquire_remote_apic)
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/x86/include/asm/numaq/wakecpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

/*
* Because we use NMIs rather than the INIT-STARTUP sequence to
* bootstrap the CPUs, the APIC may be in a weird state. Kick it.
* bootstrap the CPUs, the APIC may be in a weird state. Kick it:
*/
static inline void smp_callin_clear_local_apic(void)
static inline void numaq_smp_callin_clear_local_apic(void)
{
clear_local_APIC();
}
Expand Down
3 changes: 2 additions & 1 deletion trunk/arch/x86/kernel/smpboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,8 @@ static void __cpuinit smp_callin(void)
*/

pr_debug("CALLIN, before setup_local_APIC().\n");
smp_callin_clear_local_apic();
if (apic->smp_callin_clear_local_apic)
apic->smp_callin_clear_local_apic();
setup_local_APIC();
end_local_APIC_setup();
map_cpu_to_logical_apicid();
Expand Down
3 changes: 2 additions & 1 deletion trunk/arch/x86/mach-generic/bigsmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ struct genapic apic_bigsmp = {

.wait_for_init_deassert = default_wait_for_init_deassert,

.smp_callin_clear_local_apic = smp_callin_clear_local_apic,
.smp_callin_clear_local_apic = NULL,

.store_NMI_vector = store_NMI_vector,
.restore_NMI_vector = restore_NMI_vector,
.inquire_remote_apic = inquire_remote_apic,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/x86/mach-generic/default.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ struct genapic apic_default = {

.wait_for_init_deassert = default_wait_for_init_deassert,

.smp_callin_clear_local_apic = smp_callin_clear_local_apic,
.smp_callin_clear_local_apic = NULL,
.store_NMI_vector = store_NMI_vector,
.restore_NMI_vector = restore_NMI_vector,
.inquire_remote_apic = inquire_remote_apic,
Expand Down
4 changes: 3 additions & 1 deletion trunk/arch/x86/mach-generic/es7000.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,9 @@ struct genapic apic_es7000 = {

.wait_for_init_deassert = default_wait_for_init_deassert,

.smp_callin_clear_local_apic = smp_callin_clear_local_apic,
/* Nothing to do for most platforms, since cleared by the INIT cycle: */
.smp_callin_clear_local_apic = NULL,

.store_NMI_vector = store_NMI_vector,
.restore_NMI_vector = restore_NMI_vector,
.inquire_remote_apic = inquire_remote_apic,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/x86/mach-generic/numaq.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ struct genapic apic_numaq = {
/* We don't do anything here because we use NMI's to boot instead */
.wait_for_init_deassert = NULL,

.smp_callin_clear_local_apic = smp_callin_clear_local_apic,
.smp_callin_clear_local_apic = numaq_smp_callin_clear_local_apic,
.store_NMI_vector = store_NMI_vector,
.restore_NMI_vector = restore_NMI_vector,
.inquire_remote_apic = inquire_remote_apic,
Expand Down
3 changes: 2 additions & 1 deletion trunk/arch/x86/mach-generic/summit.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ struct genapic apic_summit = {

.wait_for_init_deassert = default_wait_for_init_deassert,

.smp_callin_clear_local_apic = smp_callin_clear_local_apic,
.smp_callin_clear_local_apic = NULL,

.store_NMI_vector = store_NMI_vector,
.restore_NMI_vector = restore_NMI_vector,
.inquire_remote_apic = inquire_remote_apic,
Expand Down

0 comments on commit 51814a0

Please sign in to comment.