git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/oprofile: fix pci_dev use count for AMD northbridge devices
[safe/jmp/linux-2.6]
/
arch
/
x86
/
oprofile
/
op_model_amd.c
diff --git
a/arch/x86/oprofile/op_model_amd.c
b/arch/x86/oprofile/op_model_amd.c
index
98658f2
..
c5b5c7f
100644
(file)
--- a/
arch/x86/oprofile/op_model_amd.c
+++ b/
arch/x86/oprofile/op_model_amd.c
@@
-409,6
+409,7
@@
static int init_ibs_nmi(void)
| IBSCTL_LVTOFFSETVAL);
pci_read_config_dword(cpu_cfg, IBSCTL, &value);
if (value != (ibs_eilvt_off | IBSCTL_LVTOFFSETVAL)) {
+ pci_dev_put(cpu_cfg);
printk(KERN_DEBUG "Failed to setup IBS LVT offset, "
"IBSCTL = 0x%08x", value);
return 1;