aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mach-generic
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-27 23:01:41 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-28 17:20:17 -0500
commitf6f52baf2613dd319e9ba3f3319bf1f1c442e4b3 (patch)
tree1eb8f814939501c10f3f18af86f9c5a5d25c7310 /arch/x86/mach-generic
parentfe402e1f2b67a63f1e53ab2a316fc20f7ca4ec91 (diff)
x86: clean up esr_disable() methods
Impact: cleanup Most subarchitectures want to disable the APIC ESR (Error Status Register), because they generally have hardware hacks that wrap standard CPUs into a bigger system and hence the APIC bus is quite non-standard and weirdnesses (lockups) have been seen with ESR reporting. Remove the esr_disable macros and put the desired flag into each subarchitecture's genapic template directly. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mach-generic')
-rw-r--r--arch/x86/mach-generic/bigsmp.c2
-rw-r--r--arch/x86/mach-generic/default.c2
-rw-r--r--arch/x86/mach-generic/es7000.c2
-rw-r--r--arch/x86/mach-generic/numaq.c2
-rw-r--r--arch/x86/mach-generic/summit.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/arch/x86/mach-generic/bigsmp.c b/arch/x86/mach-generic/bigsmp.c
index d3cead2d2fc8..f0bb72674f73 100644
--- a/arch/x86/mach-generic/bigsmp.c
+++ b/arch/x86/mach-generic/bigsmp.c
@@ -69,7 +69,7 @@ struct genapic apic_bigsmp = {
69 .irq_dest_mode = 0, 69 .irq_dest_mode = 0,
70 70
71 .target_cpus = bigsmp_target_cpus, 71 .target_cpus = bigsmp_target_cpus,
72 .ESR_DISABLE = esr_disable, 72 .ESR_DISABLE = 1,
73 .apic_destination_logical = APIC_DEST_LOGICAL, 73 .apic_destination_logical = APIC_DEST_LOGICAL,
74 .check_apicid_used = check_apicid_used, 74 .check_apicid_used = check_apicid_used,
75 .check_apicid_present = check_apicid_present, 75 .check_apicid_present = check_apicid_present,
diff --git a/arch/x86/mach-generic/default.c b/arch/x86/mach-generic/default.c
index a483e22273e5..c30141a9aca0 100644
--- a/arch/x86/mach-generic/default.c
+++ b/arch/x86/mach-generic/default.c
@@ -36,7 +36,7 @@ struct genapic apic_default = {
36 .irq_dest_mode = 1, 36 .irq_dest_mode = 1,
37 37
38 .target_cpus = default_target_cpus, 38 .target_cpus = default_target_cpus,
39 .ESR_DISABLE = esr_disable, 39 .ESR_DISABLE = 0,
40 .apic_destination_logical = APIC_DEST_LOGICAL, 40 .apic_destination_logical = APIC_DEST_LOGICAL,
41 .check_apicid_used = check_apicid_used, 41 .check_apicid_used = check_apicid_used,
42 .check_apicid_present = check_apicid_present, 42 .check_apicid_present = check_apicid_present,
diff --git a/arch/x86/mach-generic/es7000.c b/arch/x86/mach-generic/es7000.c
index e31f0c35470d..e8aa8fd4f49f 100644
--- a/arch/x86/mach-generic/es7000.c
+++ b/arch/x86/mach-generic/es7000.c
@@ -112,7 +112,7 @@ struct genapic apic_es7000 = {
112 .irq_dest_mode = 0, 112 .irq_dest_mode = 0,
113 113
114 .target_cpus = es7000_target_cpus, 114 .target_cpus = es7000_target_cpus,
115 .ESR_DISABLE = esr_disable, 115 .ESR_DISABLE = 1,
116 .apic_destination_logical = APIC_DEST_LOGICAL, 116 .apic_destination_logical = APIC_DEST_LOGICAL,
117 .check_apicid_used = check_apicid_used, 117 .check_apicid_used = check_apicid_used,
118 .check_apicid_present = check_apicid_present, 118 .check_apicid_present = check_apicid_present,
diff --git a/arch/x86/mach-generic/numaq.c b/arch/x86/mach-generic/numaq.c
index 4b84b5970fbe..860edc8bd903 100644
--- a/arch/x86/mach-generic/numaq.c
+++ b/arch/x86/mach-generic/numaq.c
@@ -56,7 +56,7 @@ struct genapic apic_numaq = {
56 .irq_dest_mode = 0, 56 .irq_dest_mode = 0,
57 57
58 .target_cpus = numaq_target_cpus, 58 .target_cpus = numaq_target_cpus,
59 .ESR_DISABLE = esr_disable, 59 .ESR_DISABLE = 1,
60 .apic_destination_logical = APIC_DEST_LOGICAL, 60 .apic_destination_logical = APIC_DEST_LOGICAL,
61 .check_apicid_used = check_apicid_used, 61 .check_apicid_used = check_apicid_used,
62 .check_apicid_present = check_apicid_present, 62 .check_apicid_present = check_apicid_present,
diff --git a/arch/x86/mach-generic/summit.c b/arch/x86/mach-generic/summit.c
index e6b956a08484..cd5ef115a4ee 100644
--- a/arch/x86/mach-generic/summit.c
+++ b/arch/x86/mach-generic/summit.c
@@ -49,7 +49,7 @@ struct genapic apic_summit = {
49 .irq_dest_mode = 1, 49 .irq_dest_mode = 1,
50 50
51 .target_cpus = summit_target_cpus, 51 .target_cpus = summit_target_cpus,
52 .ESR_DISABLE = esr_disable, 52 .ESR_DISABLE = 1,
53 .apic_destination_logical = APIC_DEST_LOGICAL, 53 .apic_destination_logical = APIC_DEST_LOGICAL,
54 .check_apicid_used = check_apicid_used, 54 .check_apicid_used = check_apicid_used,
55 .check_apicid_present = check_apicid_present, 55 .check_apicid_present = check_apicid_present,