Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 136603
b: refs/heads/master
c: abfa584
h: refs/heads/master
i:
  136601: abbf89e
  136599: dcd6e43
v: v3
  • Loading branch information
Ingo Molnar committed Jan 28, 2009
1 parent 5f2ad1b commit 7b70eed
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 14 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: 6f177c01db6b865181fbc6c948381b290ee09718
refs/heads/master: abfa584c8df8b691cf18f51c7d4af27e5b32be4a
6 changes: 6 additions & 0 deletions trunk/arch/x86/include/asm/genapic.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ struct genapic {

extern struct genapic *apic;

/*
* Warm reset vector default position:
*/
#define DEFAULT_TRAMPOLINE_PHYS_LOW 0x467
#define DEFAULT_TRAMPOLINE_PHYS_HIGH 0x469

#ifdef CONFIG_X86_32
extern void es7000_update_genapic_to_cluster(void);
#else
Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/x86/include/asm/mach-default/mach_wakecpu.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
#ifndef _ASM_X86_MACH_DEFAULT_MACH_WAKECPU_H
#define _ASM_X86_MACH_DEFAULT_MACH_WAKECPU_H

#define DEFAULT_TRAMPOLINE_PHYS_LOW (0x467)
#define DEFAULT_TRAMPOLINE_PHYS_HIGH (0x469)

static inline void wait_for_init_deassert(atomic_t *deassert)
{
while (!atomic_read(deassert))
Expand Down
8 changes: 4 additions & 4 deletions trunk/arch/x86/kernel/genapic_flat_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ struct genapic apic_flat = {
.send_IPI_self = apic_send_IPI_self,

.wakeup_cpu = NULL,
.trampoline_phys_low = 0,
.trampoline_phys_high = 0,
.trampoline_phys_low = DEFAULT_TRAMPOLINE_PHYS_LOW,
.trampoline_phys_high = DEFAULT_TRAMPOLINE_PHYS_HIGH,
.wait_for_init_deassert = NULL,
.smp_callin_clear_local_apic = NULL,
.store_NMI_vector = NULL,
Expand Down Expand Up @@ -370,8 +370,8 @@ struct genapic apic_physflat = {
.send_IPI_self = apic_send_IPI_self,

.wakeup_cpu = NULL,
.trampoline_phys_low = 0,
.trampoline_phys_high = 0,
.trampoline_phys_low = DEFAULT_TRAMPOLINE_PHYS_LOW,
.trampoline_phys_high = DEFAULT_TRAMPOLINE_PHYS_HIGH,
.wait_for_init_deassert = NULL,
.smp_callin_clear_local_apic = NULL,
.store_NMI_vector = NULL,
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/x86/kernel/genx2apic_cluster.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ struct genapic apic_x2apic_cluster = {
.send_IPI_self = x2apic_send_IPI_self,

.wakeup_cpu = NULL,
.trampoline_phys_low = 0,
.trampoline_phys_high = 0,
.trampoline_phys_low = DEFAULT_TRAMPOLINE_PHYS_LOW,
.trampoline_phys_high = DEFAULT_TRAMPOLINE_PHYS_HIGH,
.wait_for_init_deassert = NULL,
.smp_callin_clear_local_apic = NULL,
.store_NMI_vector = NULL,
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/x86/kernel/genx2apic_phys.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ struct genapic apic_x2apic_phys = {
.send_IPI_self = x2apic_send_IPI_self,

.wakeup_cpu = NULL,
.trampoline_phys_low = 0,
.trampoline_phys_high = 0,
.trampoline_phys_low = DEFAULT_TRAMPOLINE_PHYS_LOW,
.trampoline_phys_high = DEFAULT_TRAMPOLINE_PHYS_HIGH,
.wait_for_init_deassert = NULL,
.smp_callin_clear_local_apic = NULL,
.store_NMI_vector = NULL,
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/x86/kernel/genx2apic_uv_x.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,8 @@ struct genapic apic_x2apic_uv_x = {
.send_IPI_self = uv_send_IPI_self,

.wakeup_cpu = NULL,
.trampoline_phys_low = 0,
.trampoline_phys_high = 0,
.trampoline_phys_low = DEFAULT_TRAMPOLINE_PHYS_LOW,
.trampoline_phys_high = DEFAULT_TRAMPOLINE_PHYS_HIGH,
.wait_for_init_deassert = NULL,
.smp_callin_clear_local_apic = NULL,
.store_NMI_vector = NULL,
Expand Down

0 comments on commit 7b70eed

Please sign in to comment.