From owner-svn-src-stable-7@FreeBSD.ORG Fri Mar 11 18:21:17 2011 Return-Path: Delivered-To: svn-src-stable-7@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 572E61065673; Fri, 11 Mar 2011 18:21:17 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 457D58FC1C; Fri, 11 Mar 2011 18:21:17 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p2BILHgP089054; Fri, 11 Mar 2011 18:21:17 GMT (envelope-from avg@svn.freebsd.org) Received: (from avg@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p2BILHJv089052; Fri, 11 Mar 2011 18:21:17 GMT (envelope-from avg@svn.freebsd.org) Message-Id: <201103111821.p2BILHJv089052@svn.freebsd.org> From: Andriy Gapon Date: Fri, 11 Mar 2011 18:21:17 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219516 - stable/7/sys/dev/drm X-BeenThere: svn-src-stable-7@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 7-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2011 18:21:17 -0000 Author: avg Date: Fri Mar 11 18:21:16 2011 New Revision: 219516 URL: http://svn.freebsd.org/changeset/base/219516 Log: MFC r216374: fix atomic_set_xxx misuse in drm Modified: stable/7/sys/dev/drm/drm_irq.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/dev/drm/drm_irq.c ============================================================================== --- stable/7/sys/dev/drm/drm_irq.c Fri Mar 11 18:15:30 2011 (r219515) +++ stable/7/sys/dev/drm/drm_irq.c Fri Mar 11 18:21:16 2011 (r219516) @@ -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);