diff options
Diffstat (limited to 'arch/sparc64/kernel/pci_psycho.c')
-rw-r--r-- | arch/sparc64/kernel/pci_psycho.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/sparc64/kernel/pci_psycho.c b/arch/sparc64/kernel/pci_psycho.c index 5743e1316a93..f2d1097f541d 100644 --- a/arch/sparc64/kernel/pci_psycho.c +++ b/arch/sparc64/kernel/pci_psycho.c | |||
@@ -280,7 +280,6 @@ static unsigned int psycho_irq_build(struct pci_pbm_info *pbm, | |||
280 | struct pci_dev *pdev, | 280 | struct pci_dev *pdev, |
281 | unsigned int ino) | 281 | unsigned int ino) |
282 | { | 282 | { |
283 | struct ino_bucket *bucket; | ||
284 | unsigned long imap, iclr; | 283 | unsigned long imap, iclr; |
285 | unsigned long imap_off, iclr_off; | 284 | unsigned long imap_off, iclr_off; |
286 | int inofixup = 0; | 285 | int inofixup = 0; |
@@ -309,10 +308,7 @@ static unsigned int psycho_irq_build(struct pci_pbm_info *pbm, | |||
309 | if ((ino & 0x20) == 0) | 308 | if ((ino & 0x20) == 0) |
310 | inofixup = ino & 0x03; | 309 | inofixup = ino & 0x03; |
311 | 310 | ||
312 | bucket = __bucket(build_irq(inofixup, iclr, imap)); | 311 | return build_irq(inofixup, iclr, imap, IBF_PCI); |
313 | bucket->flags |= IBF_PCI; | ||
314 | |||
315 | return __irq(bucket); | ||
316 | } | 312 | } |
317 | 313 | ||
318 | /* PSYCHO error handling support. */ | 314 | /* PSYCHO error handling support. */ |