powerpc: Remove all usages of NO_IRQ
[cascardo/linux.git] / arch / powerpc / sysdev / ehv_pic.c
index bffcc7a..48866e6 100644 (file)
@@ -155,7 +155,7 @@ static struct irq_chip ehv_pic_direct_eoi_irq_chip = {
        .irq_set_type   = ehv_pic_set_irq_type,
 };
 
-/* Return an interrupt vector or NO_IRQ if no interrupt is pending. */
+/* Return an interrupt vector or 0 if no interrupt is pending. */
 unsigned int ehv_pic_get_irq(void)
 {
        int irq;
@@ -168,7 +168,7 @@ unsigned int ehv_pic_get_irq(void)
                ev_int_iack(0, &irq); /* legacy mode */
 
        if (irq == 0xFFFF)    /* 0xFFFF --> no irq is pending */
-               return NO_IRQ;
+               return 0;
 
        /*
         * this will also setup revmap[] in the slow path for the first