]> err.no Git - linux-2.6/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)
commitf948cc6ab9e61a8e88d70ee9aafc690e6d26f92c
tree9fd4497604d8888f6f569a486a710392aa3a2663
parent6bfb09a1005193be5c81ebac9f3ef85210142650
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