]> git.baikalelectronics.ru Git - kernel.git/commit
[IA64] Fix pci.c kernel compilation breakage.
authorPeter Chubb <peterc@gelato.unsw.edu.au>
Tue, 5 Dec 2006 01:25:31 +0000 (12:25 +1100)
committerTony Luck <tony.luck@intel.com>
Wed, 6 Dec 2006 22:13:38 +0000 (14:13 -0800)
commit226e0424c6f1f2bfe2101cb96641506a502907c8
tree76525f17fafafe9eef8ea542f52fbcba48eb9ded
parentf49ad99d556a2fe22c94e8e99d93c2cd9da59168
[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>
arch/ia64/pci/pci.c