]> git.baikalelectronics.ru Git - kernel.git/commit
sparc64: Fix OOPS in psycho_pcierr_intr_other().
authorDavid S. Miller <davem@davemloft.net>
Tue, 16 Sep 2008 16:53:42 +0000 (09:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Sep 2008 16:53:42 +0000 (09:53 -0700)
commita592827799a217c5bfc4024e7c2265ad2fd75f17
tree9fd4497604d8888f6f569a486a710392aa3a2663
parent5c4037b2dd135c186337607eac3e2301269ed3d8
sparc64: Fix OOPS in psycho_pcierr_intr_other().

We no longer put the top-level PCI controller device into the
PCI layer device list.  So pbm->pci_bus->self is always NULL.

Therefore, use direct PCI config space accesses to get at
the PCI controller's PCI_STATUS register.

Tested by Meelis Roos.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/pci_psycho.c