]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SPARC64]: Fix 2 bugs in sabre_irq_build()
authorDavid S. Miller <davem@sunset.davemloft.net>
Wed, 12 Jul 2006 22:59:53 +0000 (15:59 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 13 Jul 2006 08:50:08 +0000 (01:50 -0700)
commita23c3a86e9952a8badb49a6bb1de455c1f5bad6d
tree1c8a9b6df274b82cfb08c1e29ad34c1f6db71f28
parent17556fe861d8f76ed13e975ceb6eae450671aba1
[SPARC64]: Fix 2 bugs in sabre_irq_build()

When installing the IRQ pre-handler, we were not setting up the second
argument correctly.  It should be a pointer to the sabre_irq_data, not
the config space PIO address.

Furthermore, we only need this pre-handler installed if the device
sits behind a PCI bridge that is not Sabre or Simba/APB.

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