projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da759fe
)
oprofile/x86: remove duplicate IBS capability check
author
Robert Richter
<robert.richter@amd.com>
Wed, 31 Mar 2010 09:58:36 +0000
(11:58 +0200)
committer
Robert Richter
<robert.richter@amd.com>
Tue, 4 May 2010 09:35:29 +0000
(11:35 +0200)
The check is already done in ibs_exit().
Signed-off-by: Robert Richter <robert.richter@amd.com>
arch/x86/oprofile/op_model_amd.c
patch
|
blob
|
history
diff --git
a/arch/x86/oprofile/op_model_amd.c
b/arch/x86/oprofile/op_model_amd.c
index
e159254
..
384c524
100644
(file)
--- 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)
/* uninitialize the APIC for the IBS interrupts if needed */
static void clear_ibs_nmi(void)
{
- if (ibs_caps)
- on_each_cpu(apic_clear_ibs_nmi_per_cpu, NULL, 1);
+ on_each_cpu(apic_clear_ibs_nmi_per_cpu, NULL, 1);
}
/* initialize the APIC for the IBS interrupts if available */