Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 136608
b: refs/heads/master
c: 25dc004
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Jan 28, 2009
1 parent b51c7d5 commit d966bb0
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 23 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: 3d5f597e938c425554cb7668fd3c9d6a536a984a
refs/heads/master: 25dc004903a38f0b6f6626dbbab058c8709c5398
8 changes: 0 additions & 8 deletions trunk/arch/x86/include/asm/es7000/wakecpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,4 @@ static inline void es7000_wait_for_init_deassert(atomic_t *deassert)
return;
}

extern void __inquire_remote_apic(int apicid);

static inline void inquire_remote_apic(int apicid)
{
if (apic_verbosity >= APIC_DEBUG)
__inquire_remote_apic(apicid);
}

#endif /* __ASM_MACH_WAKECPU_H */
2 changes: 1 addition & 1 deletion trunk/arch/x86/include/asm/mach-default/mach_wakecpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ static inline void __inquire_remote_apic(int apicid)
}
#endif /* CONFIG_SMP */

static inline void inquire_remote_apic(int apicid)
static inline void default_inquire_remote_apic(int apicid)
{
if (apic_verbosity >= APIC_DEBUG)
__inquire_remote_apic(apicid);
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/x86/include/asm/mach-generic/mach_wakecpu.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef _ASM_X86_MACH_GENERIC_MACH_WAKECPU_H
#define _ASM_X86_MACH_GENERIC_MACH_WAKECPU_H

#define inquire_remote_apic (apic->inquire_remote_apic)

#endif /* _ASM_X86_MACH_GENERIC_MACH_APIC_H */
4 changes: 0 additions & 4 deletions trunk/arch/x86/include/asm/numaq/wakecpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,4 @@ numaq_store_NMI_vector(unsigned short *high, unsigned short *low)
*((volatile unsigned short *)phys_to_virt(NUMAQ_TRAMPOLINE_PHYS_LOW));
}

static inline void inquire_remote_apic(int apicid)
{
}

#endif /* __ASM_NUMAQ_WAKECPU_H */
4 changes: 2 additions & 2 deletions trunk/arch/x86/kernel/smpboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -876,8 +876,8 @@ static int __cpuinit do_boot_cpu(int apicid, int cpu)
else
/* trampoline code not run */
printk(KERN_ERR "Not responding.\n");
if (get_uv_system_type() != UV_NON_UNIQUE_APIC)
inquire_remote_apic(apicid);
if (apic->inquire_remote_apic)
apic->inquire_remote_apic(apicid);
}
}

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/x86/mach-generic/bigsmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,5 @@ struct genapic apic_bigsmp = {

.smp_callin_clear_local_apic = NULL,
.store_NMI_vector = NULL,
.inquire_remote_apic = inquire_remote_apic,
.inquire_remote_apic = default_inquire_remote_apic,
};
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 @@ -92,5 +92,5 @@ struct genapic apic_default = {

.smp_callin_clear_local_apic = NULL,
.store_NMI_vector = NULL,
.inquire_remote_apic = inquire_remote_apic,
.inquire_remote_apic = default_inquire_remote_apic,
};
2 changes: 1 addition & 1 deletion trunk/arch/x86/mach-generic/es7000.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,5 @@ struct genapic apic_es7000 = {
/* Nothing to do for most platforms, since cleared by the INIT cycle: */
.smp_callin_clear_local_apic = NULL,
.store_NMI_vector = NULL,
.inquire_remote_apic = inquire_remote_apic,
.inquire_remote_apic = default_inquire_remote_apic,
};
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 @@ -112,5 +112,5 @@ struct genapic apic_numaq = {

.smp_callin_clear_local_apic = numaq_smp_callin_clear_local_apic,
.store_NMI_vector = numaq_store_NMI_vector,
.inquire_remote_apic = inquire_remote_apic,
.inquire_remote_apic = NULL,
};
2 changes: 1 addition & 1 deletion trunk/arch/x86/mach-generic/summit.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,5 @@ struct genapic apic_summit = {

.smp_callin_clear_local_apic = NULL,
.store_NMI_vector = NULL,
.inquire_remote_apic = inquire_remote_apic,
.inquire_remote_apic = default_inquire_remote_apic,
};

0 comments on commit d966bb0

Please sign in to comment.