aboutsummaryrefslogtreecommitdiff
path: root/shared-core/r128_irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'shared-core/r128_irq.c')
-rw-r--r--shared-core/r128_irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/r128_irq.c b/shared-core/r128_irq.c
index 8dfee07e..bfc30405 100644
--- a/shared-core/r128_irq.c
+++ b/shared-core/r128_irq.c
@@ -65,7 +65,7 @@ int DRM(vblank_wait)(drm_device_t *dev, unsigned int *sequence)
*/
DRM_WAIT_ON( ret, dev->vbl_queue, 3*DRM_HZ,
( ( ( cur_vblank = atomic_read(&dev->vbl_received ) )
- + ~*sequence + 1 ) <= (1<<23) ) );
+ - *sequence ) <= (1<<23) ) );
*sequence = cur_vblank;