fix build problem
authorAlan Hourihane <alanh@fairlite.demon.co.uk>
Thu, 8 Apr 2004 23:22:05 +0000 (23:22 +0000)
committerAlan Hourihane <alanh@fairlite.demon.co.uk>
Thu, 8 Apr 2004 23:22:05 +0000 (23:22 +0000)
shared-core/via_irq.c
shared/via_irq.c

index 835b41c..7e540cc 100644 (file)
@@ -65,7 +65,11 @@ irqreturn_t DRM(irq_handler)( DRM_IRQ_ARGS )
     
         /* Acknowlege interrupts ?? */
         VIA_WRITE(VIA_REG_INTERRUPT, status);
-        return IRQ_RETVAL(handled);
+
+       if (handled)
+               return IRQ_HANDLED;
+       else
+               return IRQ_NONE;
 }
 
 static __inline__ void viadrv_acknowledge_irqs(drm_via_private_t* dev_priv)
index 835b41c..7e540cc 100644 (file)
@@ -65,7 +65,11 @@ irqreturn_t DRM(irq_handler)( DRM_IRQ_ARGS )
     
         /* Acknowlege interrupts ?? */
         VIA_WRITE(VIA_REG_INTERRUPT, status);
-        return IRQ_RETVAL(handled);
+
+       if (handled)
+               return IRQ_HANDLED;
+       else
+               return IRQ_NONE;
 }
 
 static __inline__ void viadrv_acknowledge_irqs(drm_via_private_t* dev_priv)