Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 136573
b: refs/heads/master
c: f6f52ba
h: refs/heads/master
i:
  136571: 8d0ef1e
v: v3
  • Loading branch information
Ingo Molnar committed Jan 28, 2009
1 parent 18c5d57 commit ecd28a7
Show file tree
Hide file tree
Showing 13 changed files with 8 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: fe402e1f2b67a63f1e53ab2a316fc20f7ca4ec91
refs/heads/master: f6f52baf2613dd319e9ba3f3319bf1f1c442e4b3
1 change: 0 additions & 1 deletion trunk/arch/x86/include/asm/bigsmp/apic.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#define __ASM_MACH_APIC_H

#define xapic_phys_to_log_apicid(cpu) (per_cpu(x86_bios_cpu_apicid, cpu))
#define esr_disable (1)

static inline int bigsmp_apic_id_registered(void)
{
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/x86/include/asm/es7000/apic.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#include <linux/gfp.h>

#define xapic_phys_to_log_apicid(cpu) per_cpu(x86_bios_cpu_apicid, cpu)
#define esr_disable (1)

static inline int es7000_apic_id_registered(void)
{
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/x86/include/asm/mach-default/mach_apic.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ static inline const struct cpumask *default_target_cpus(void)
}

#define NO_BALANCE_IRQ (0)
#define esr_disable (0)

#ifdef CONFIG_X86_64
#include <asm/genapic.h>
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/x86/include/asm/mach-generic/mach_apic.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

#include <asm/genapic.h>

#define esr_disable (apic->ESR_DISABLE)
#define NO_BALANCE_IRQ (apic->no_balance_irq)
#undef APIC_DEST_LOGICAL
#define APIC_DEST_LOGICAL (apic->apic_destination_logical)
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/x86/include/asm/numaq/apic.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ static inline const cpumask_t *numaq_target_cpus(void)
}

#define NO_BALANCE_IRQ (1)
#define esr_disable (1)

static inline unsigned long check_apicid_used(physid_mask_t bitmap, int apicid)
{
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/x86/include/asm/summit/apic.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#include <asm/smp.h>
#include <linux/gfp.h>

#define esr_disable (1)
#define NO_BALANCE_IRQ (0)

/* In clustered mode, the high nibble of APIC ID is a cluster number.
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/x86/kernel/apic.c
Original file line number Diff line number Diff line change
Expand Up @@ -1107,7 +1107,7 @@ static void __cpuinit lapic_setup_esr(void)
return;
}

if (esr_disable) {
if (apic->ESR_DISABLE) {
/*
* Something untraceable is creating bad interrupts on
* secondary quads ... for the moment, just leave the
Expand Down Expand Up @@ -1157,7 +1157,7 @@ void __cpuinit setup_local_APIC(void)

#ifdef CONFIG_X86_32
/* Pound the ESR really hard over the head with a big hammer - mbligh */
if (lapic_is_integrated() && esr_disable) {
if (lapic_is_integrated() && apic->ESR_DISABLE) {
apic_write(APIC_ESR, 0);
apic_write(APIC_ESR, 0);
apic_write(APIC_ESR, 0);
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 @@ -69,7 +69,7 @@ struct genapic apic_bigsmp = {
.irq_dest_mode = 0,

.target_cpus = bigsmp_target_cpus,
.ESR_DISABLE = esr_disable,
.ESR_DISABLE = 1,
.apic_destination_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/default.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ struct genapic apic_default = {
.irq_dest_mode = 1,

.target_cpus = default_target_cpus,
.ESR_DISABLE = esr_disable,
.ESR_DISABLE = 0,
.apic_destination_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 @@ -112,7 +112,7 @@ struct genapic apic_es7000 = {
.irq_dest_mode = 0,

.target_cpus = es7000_target_cpus,
.ESR_DISABLE = esr_disable,
.ESR_DISABLE = 1,
.apic_destination_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/numaq.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ struct genapic apic_numaq = {
.irq_dest_mode = 0,

.target_cpus = numaq_target_cpus,
.ESR_DISABLE = esr_disable,
.ESR_DISABLE = 1,
.apic_destination_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 @@ -49,7 +49,7 @@ struct genapic apic_summit = {
.irq_dest_mode = 1,

.target_cpus = summit_target_cpus,
.ESR_DISABLE = esr_disable,
.ESR_DISABLE = 1,
.apic_destination_logical = APIC_DEST_LOGICAL,
.check_apicid_used = check_apicid_used,
.check_apicid_present = check_apicid_present,
Expand Down

0 comments on commit ecd28a7

Please sign in to comment.