diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-04-03 13:56:24 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-04-03 13:56:24 +0000 |
commit | 65395f9cb1d22907752512807f36e915f03c1f4c (patch) | |
tree | 972f674a6870f45636182ae305fdf2eda2f4f3f5 /sys/dev/pci/drm/radeon_irq.c | |
parent | 4dfe44ac139120b50fbd3e04ceb83cf2ae3163a0 (diff) |
More compat crud bites the dust: Remove the IRQ_NONE and IRQ_HANDLED
defines. 0 and 1 are fine for returning from irq handlers so why bother
with the indirection?
Diffstat (limited to 'sys/dev/pci/drm/radeon_irq.c')
-rw-r--r-- | sys/dev/pci/drm/radeon_irq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/radeon_irq.c b/sys/dev/pci/drm/radeon_irq.c index 93214692140..84b0038cd87 100644 --- a/sys/dev/pci/drm/radeon_irq.c +++ b/sys/dev/pci/drm/radeon_irq.c @@ -198,7 +198,7 @@ radeon_driver_irq_handler(void *arg) stat = radeon_acknowledge_irqs(dev_priv, &r500_disp_int); if (!stat) - return (IRQ_NONE); + return (0); stat &= dev_priv->irq_enable_reg; @@ -221,7 +221,7 @@ radeon_driver_irq_handler(void *arg) if (stat & RADEON_CRTC2_VBLANK_STAT) drm_handle_vblank(dev, 1); } - return (IRQ_HANDLED); + return (1); } int |