svn commit: r219515 - stable/8/sys/dev/drm
Andriy Gapon
avg at FreeBSD.org
Fri Mar 11 18:15:31 UTC 2011
Author: avg
Date: Fri Mar 11 18:15:30 2011
New Revision: 219515
URL: http://svn.freebsd.org/changeset/base/219515
Log:
MFC r216374: fix atomic_set_xxx misuse in drm
Modified:
stable/8/sys/dev/drm/drm_irq.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
Modified: stable/8/sys/dev/drm/drm_irq.c
==============================================================================
--- stable/8/sys/dev/drm/drm_irq.c Fri Mar 11 18:10:37 2011 (r219514)
+++ stable/8/sys/dev/drm/drm_irq.c Fri Mar 11 18:15:30 2011 (r219515)
@@ -140,7 +140,7 @@ int drm_vblank_init(struct drm_device *d
for (i = 0; i < num_crtcs; i++) {
DRM_INIT_WAITQUEUE(&dev->vblank[i].queue);
dev->vblank[i].refcount = 0;
- atomic_set_rel_32(&dev->vblank[i].count, 0);
+ atomic_store_rel_32(&dev->vblank[i].count, 0);
}
dev->vblank_disable_allowed = 0;
DRM_SPINUNLOCK(&dev->vbl_lock);
More information about the svn-src-stable
mailing list