[PATCH] mac68k: fix mac_irq_pending() for PSC MACE and SCC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Add missing return statement. The docs say that the level 4 PSC IRQs 
relate to MACE DMA and SCC. Since those drivers don't call 
mac_irq_pending() this patch has no affect. But it should be fixed all the 
same, since it can be useful for MACE debugging.

Signed-off-by: Finn Thain <fthain@xxxxxxxxxxxxxxxxxxx>

---
 arch/m68k/mac/macints.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.39/arch/m68k/mac/macints.c
===================================================================
--- linux-2.6.39.orig/arch/m68k/mac/macints.c	2011-07-18 19:22:54.000000000 +1000
+++ linux-2.6.39/arch/m68k/mac/macints.c	2011-07-18 19:29:37.000000000 +1000
@@ -370,7 +370,7 @@ int mac_irq_pending(unsigned int irq)
 		break;
 	case 4:
 		if (psc_present)
-			psc_irq_pending(irq);
+			return psc_irq_pending(irq);
 		break;
 	}
 	return 0;
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux