commit | 83bd9243956f30d91851b272988a237999b35b10 | [log] [tgz] |
---|---|---|
author | Robert Richter <robert.richter@amd.com> | Mon Dec 15 15:09:50 2008 +0100 |
committer | Robert Richter <robert.richter@amd.com> | Mon Dec 29 15:19:32 2008 +0100 |
tree | e158b04203883af02c4f2dcba9aa8958fb2ef897 | |
parent | 9966718daee592fbdc523703b2d8200009642506 [diff] |
x86/oprofile: fix pci_dev use count for AMD northbridge devices This patch fixes the PCI device use count for AMD northbridge devices. In case of an IBS LVT initialization failure, the PCI device is released now by calling pci_dev_put(). If there are no initialization errors, the devices are released in pci_get_device() while iterating. Signed-off-by: Robert Richter <robert.richter@amd.com>