diff options
author | Robert Richter <robert.richter@amd.com> | 2010-03-31 05:58:36 -0400 |
---|---|---|
committer | Robert Richter <robert.richter@amd.com> | 2010-05-04 05:35:29 -0400 |
commit | 5bdb7934ca4115a12c7d585c5a45312b1c36909b (patch) | |
tree | a80c8e0460a7bdbe1f3f60e6cefdecb8424e2181 /arch/x86/oprofile | |
parent | da759fe5be24ec3b236a76c007b460cf6caf2009 (diff) |
oprofile/x86: remove duplicate IBS capability check
The check is already done in ibs_exit().
Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'arch/x86/oprofile')
-rw-r--r-- | arch/x86/oprofile/op_model_amd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/oprofile/op_model_amd.c b/arch/x86/oprofile/op_model_amd.c index e159254fb7cd..384c52410480 100644 --- a/arch/x86/oprofile/op_model_amd.c +++ b/arch/x86/oprofile/op_model_amd.c | |||
@@ -490,8 +490,7 @@ static int init_ibs_nmi(void) | |||
490 | /* uninitialize the APIC for the IBS interrupts if needed */ | 490 | /* uninitialize the APIC for the IBS interrupts if needed */ |
491 | static void clear_ibs_nmi(void) | 491 | static void clear_ibs_nmi(void) |
492 | { | 492 | { |
493 | if (ibs_caps) | 493 | on_each_cpu(apic_clear_ibs_nmi_per_cpu, NULL, 1); |
494 | on_each_cpu(apic_clear_ibs_nmi_per_cpu, NULL, 1); | ||
495 | } | 494 | } |
496 | 495 | ||
497 | /* initialize the APIC for the IBS interrupts if available */ | 496 | /* initialize the APIC for the IBS interrupts if available */ |