summaryrefslogtreecommitdiff
path: root/shared/r128_irq.c
diff options
context:
space:
mode:
authorMichel Daenzer <michel@daenzer.net>2003-07-25 10:50:39 +0000
committerMichel Daenzer <michel@daenzer.net>2003-07-25 10:50:39 +0000
commitbef7017749c9d3af733bdca4863a012f5d6506d3 (patch)
tree8152d62dfe6515a9f89c21934c5beb48b53180d2 /shared/r128_irq.c
parent32ef0f59a8d62460da338568af347286aa450146 (diff)
Compile fixes for recent 2.5/2.6 Linux kernels. I hope this doesn't break
the i830 driver or the BSDs. :)
Diffstat (limited to 'shared/r128_irq.c')
-rw-r--r--shared/r128_irq.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/shared/r128_irq.c b/shared/r128_irq.c
index f3f84d8c..5fe5b46b 100644
--- a/shared/r128_irq.c
+++ b/shared/r128_irq.c
@@ -36,7 +36,7 @@
#include "r128_drm.h"
#include "r128_drv.h"
-void r128_dma_service( DRM_IRQ_ARGS )
+DRM_IRQ_RET r128_dma_service( DRM_IRQ_ARGS )
{
drm_device_t *dev = (drm_device_t *) arg;
drm_r128_private_t *dev_priv =
@@ -51,7 +51,9 @@ void r128_dma_service( DRM_IRQ_ARGS )
atomic_inc(&dev->vbl_received);
DRM_WAKEUP(&dev->vbl_queue);
DRM(vbl_send_signals)( dev );
+ return DRM_IRQ_HANDLED;
}
+ return DRM_IRQ_NONE;
}
int DRM(vblank_wait)(drm_device_t *dev, unsigned int *sequence)