Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 136576
b: refs/heads/master
c: bdb1a9b
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Jan 28, 2009
1 parent 3200d94 commit 1264703
Show file tree
Hide file tree
Showing 14 changed files with 21 additions and 21 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: 0b06e734bff7554c31eac4aad2fc9be4adb7c1c1
refs/heads/master: bdb1a9b62fc182d4da3143e346f7a0925d243352
2 changes: 1 addition & 1 deletion trunk/arch/x86/include/asm/genapic.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ struct genapic {

int disable_esr;

int apic_destination_logical;
int dest_logical;
unsigned long (*check_apicid_used)(physid_mask_t bitmap, int apicid);
unsigned long (*check_apicid_present)(int apicid);

Expand Down
10 changes: 5 additions & 5 deletions trunk/arch/x86/kernel/genapic_flat_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ static inline void _flat_send_IPI_mask(unsigned long mask, int vector)
unsigned long flags;

local_irq_save(flags);
__send_IPI_dest_field(mask, vector, apic->apic_destination_logical);
__send_IPI_dest_field(mask, vector, apic->dest_logical);
local_irq_restore(flags);
}

Expand Down Expand Up @@ -114,7 +114,7 @@ static void flat_send_IPI_allbutself(int vector)
_flat_send_IPI_mask(mask, vector);
}
} else if (num_online_cpus() > 1) {
__send_IPI_shortcut(APIC_DEST_ALLBUT, vector, apic->apic_destination_logical);
__send_IPI_shortcut(APIC_DEST_ALLBUT, vector, apic->dest_logical);
}
}

Expand All @@ -123,7 +123,7 @@ static void flat_send_IPI_all(int vector)
if (vector == NMI_VECTOR)
flat_send_IPI_mask(cpu_online_mask, vector);
else
__send_IPI_shortcut(APIC_DEST_ALLINC, vector, apic->apic_destination_logical);
__send_IPI_shortcut(APIC_DEST_ALLINC, vector, apic->dest_logical);
}

static unsigned int get_apic_id(unsigned long x)
Expand Down Expand Up @@ -185,7 +185,7 @@ struct genapic apic_flat = {

.target_cpus = flat_target_cpus,
.disable_esr = 0,
.apic_destination_logical = APIC_DEST_LOGICAL,
.dest_logical = APIC_DEST_LOGICAL,
.check_apicid_used = NULL,
.check_apicid_present = NULL,

Expand Down Expand Up @@ -331,7 +331,7 @@ struct genapic apic_physflat = {

.target_cpus = physflat_target_cpus,
.disable_esr = 0,
.apic_destination_logical = 0,
.dest_logical = 0,
.check_apicid_used = NULL,
.check_apicid_present = NULL,

Expand Down
8 changes: 4 additions & 4 deletions trunk/arch/x86/kernel/genx2apic_cluster.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ static void x2apic_send_IPI_mask(const struct cpumask *mask, int vector)
for_each_cpu(query_cpu, mask)
__x2apic_send_IPI_dest(
per_cpu(x86_cpu_to_logical_apicid, query_cpu),
vector, apic->apic_destination_logical);
vector, apic->dest_logical);
local_irq_restore(flags);
}

Expand All @@ -80,7 +80,7 @@ static void x2apic_send_IPI_mask_allbutself(const struct cpumask *mask,
if (query_cpu != this_cpu)
__x2apic_send_IPI_dest(
per_cpu(x86_cpu_to_logical_apicid, query_cpu),
vector, apic->apic_destination_logical);
vector, apic->dest_logical);
local_irq_restore(flags);
}

Expand All @@ -95,7 +95,7 @@ static void x2apic_send_IPI_allbutself(int vector)
if (query_cpu != this_cpu)
__x2apic_send_IPI_dest(
per_cpu(x86_cpu_to_logical_apicid, query_cpu),
vector, apic->apic_destination_logical);
vector, apic->dest_logical);
local_irq_restore(flags);
}

Expand Down Expand Up @@ -187,7 +187,7 @@ struct genapic apic_x2apic_cluster = {

.target_cpus = x2apic_target_cpus,
.disable_esr = 0,
.apic_destination_logical = APIC_DEST_LOGICAL,
.dest_logical = APIC_DEST_LOGICAL,
.check_apicid_used = NULL,
.check_apicid_present = NULL,

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/x86/kernel/genx2apic_phys.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ struct genapic apic_x2apic_phys = {

.target_cpus = x2apic_target_cpus,
.disable_esr = 0,
.apic_destination_logical = 0,
.dest_logical = 0,
.check_apicid_used = NULL,
.check_apicid_present = NULL,

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/x86/kernel/genx2apic_uv_x.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ struct genapic apic_x2apic_uv_x = {

.target_cpus = uv_target_cpus,
.disable_esr = 0,
.apic_destination_logical = APIC_DEST_LOGICAL,
.dest_logical = APIC_DEST_LOGICAL,
.check_apicid_used = NULL,
.check_apicid_present = NULL,

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/x86/kernel/io_apic.c
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ void send_IPI_self(int vector)
* Wait for idle.
*/
apic_wait_icr_idle();
cfg = APIC_DM_FIXED | APIC_DEST_SELF | vector | apic->apic_destination_logical;
cfg = APIC_DM_FIXED | APIC_DEST_SELF | vector | apic->dest_logical;
/*
* Send the IPI. The write to APIC_ICR fires this off.
*/
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/x86/kernel/ipi.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

static inline int __prepare_ICR(unsigned int shortcut, int vector)
{
unsigned int icr = shortcut | apic->apic_destination_logical;
unsigned int icr = shortcut | apic->dest_logical;

switch (vector) {
default:
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/x86/kernel/smpboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ wakeup_secondary_cpu_via_nmi(int logical_apicid, unsigned long start_eip)
/* Target chip */
/* Boot on the stack */
/* Kick the second */
apic_icr_write(APIC_DM_NMI | apic->apic_destination_logical, logical_apicid);
apic_icr_write(APIC_DM_NMI | apic->dest_logical, logical_apicid);

pr_debug("Waiting for send to finish...\n");
send_status = safe_apic_wait_icr_idle();
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 @@ -70,7 +70,7 @@ struct genapic apic_bigsmp = {

.target_cpus = bigsmp_target_cpus,
.disable_esr = 1,
.apic_destination_logical = 0,
.dest_logical = 0,
.check_apicid_used = check_apicid_used,
.check_apicid_present = check_apicid_present,

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 @@ -37,7 +37,7 @@ struct genapic apic_default = {

.target_cpus = default_target_cpus,
.disable_esr = 0,
.apic_destination_logical = APIC_DEST_LOGICAL,
.dest_logical = APIC_DEST_LOGICAL,
.check_apicid_used = check_apicid_used,
.check_apicid_present = check_apicid_present,

Expand Down
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 @@ -113,7 +113,7 @@ struct genapic apic_es7000 = {

.target_cpus = es7000_target_cpus,
.disable_esr = 1,
.apic_destination_logical = 0,
.dest_logical = 0,
.check_apicid_used = check_apicid_used,
.check_apicid_present = check_apicid_present,

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 @@ -57,7 +57,7 @@ struct genapic apic_numaq = {

.target_cpus = numaq_target_cpus,
.disable_esr = 1,
.apic_destination_logical = APIC_DEST_LOGICAL,
.dest_logical = APIC_DEST_LOGICAL,
.check_apicid_used = check_apicid_used,
.check_apicid_present = check_apicid_present,

Expand Down
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 @@ -50,7 +50,7 @@ struct genapic apic_summit = {

.target_cpus = summit_target_cpus,
.disable_esr = 1,
.apic_destination_logical = APIC_DEST_LOGICAL,
.dest_logical = APIC_DEST_LOGICAL,
.check_apicid_used = check_apicid_used,
.check_apicid_present = check_apicid_present,

Expand Down

0 comments on commit 1264703

Please sign in to comment.