Date: Wed, 20 Nov 2013 23:02:09 +0000 (UTC) From: Aleksandr Rybalko <ray@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r258409 - user/ed/newcons/sys/dev/vt Message-ID: <201311202302.rAKN29Wq009916@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ray Date: Wed Nov 20 23:02:09 2013 New Revision: 258409 URL: http://svnweb.freebsd.org/changeset/base/258409 Log: Remove atomic_(set|clear)_int from mouse control too. Same as in r258408. Sponsored by: The FreeBSD Foundation Modified: user/ed/newcons/sys/dev/vt/vt_core.c Modified: user/ed/newcons/sys/dev/vt/vt_core.c ============================================================================== --- user/ed/newcons/sys/dev/vt/vt_core.c Wed Nov 20 22:54:09 2013 (r258408) +++ user/ed/newcons/sys/dev/vt/vt_core.c Wed Nov 20 23:02:09 2013 (r258409) @@ -1247,10 +1247,10 @@ vt_mouse_state(int show) switch (show) { case VT_MOUSE_HIDE: - atomic_set_int(&vw->vw_flags, VWF_MOUSE_HIDE); + vw->vw_flags |= VWF_MOUSE_HIDE; break; case VT_MOUSE_SHOW: - atomic_clear_int(&vw->vw_flags, VWF_MOUSE_HIDE); + vw->vw_flags &= ~VWF_MOUSE_HIDE; break; } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311202302.rAKN29Wq009916>