diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-27 23:01:41 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-28 17:20:17 -0500 |
commit | f6f52baf2613dd319e9ba3f3319bf1f1c442e4b3 (patch) | |
tree | 1eb8f814939501c10f3f18af86f9c5a5d25c7310 /arch/x86/mach-generic/default.c | |
parent | fe402e1f2b67a63f1e53ab2a316fc20f7ca4ec91 (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/default.c')
-rw-r--r-- | arch/x86/mach-generic/default.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |