commit | c7f570a5eca59575572ee231390df727df207bda | [log] [tgz] |
---|---|---|
author | Peter Chubb <peterc@gelato.unsw.edu.au> | Tue Dec 05 12:25:31 2006 +1100 |
committer | Tony Luck <tony.luck@intel.com> | Wed Dec 06 14:13:38 2006 -0800 |
tree | 76525f17fafafe9eef8ea542f52fbcba48eb9ded | |
parent | 3e577a80ea85e2557831fd44064f809646f260b4 [diff] |
[IA64] Fix pci.c kernel compilation breakage. The recent change to convert the is_enabled flag in the PCI device to an atomic count broke the IA64 compilation. As pcibios_disable_device is only ever called if the reference count is zero, convert the if to a BUG_ON. Signed-off-by: Peter Chubb <peterc@gelato.unsw.edu.au> Signed-off-by: Tony Luck <tony.luck@intel.com>