Author: imp Date: Mon Jan 20 17:45:36 2014 New Revision: 260911 URL: http://svnweb.freebsd.org/changeset/base/260911
Log: Don't lock in the generic grab just to lock again in the specific grabs. (I committed the wrong version of uart_core.c, which still had this). Pointy hat: imp Modified: head/sys/dev/uart/uart_core.c Modified: head/sys/dev/uart/uart_core.c ============================================================================== --- head/sys/dev/uart/uart_core.c Mon Jan 20 15:51:02 2014 (r260910) +++ head/sys/dev/uart/uart_core.c Mon Jan 20 17:45:36 2014 (r260911) @@ -629,18 +629,14 @@ void uart_grab(struct uart_devinfo *di) { - uart_lock(di->hwmtx); if (di->sc) UART_GRAB(di->sc); - uart_unlock(di->hwmtx); } void uart_ungrab(struct uart_devinfo *di) { - uart_lock(di->hwmtx); if (di->sc) UART_UNGRAB(di->sc); - uart_unlock(di->hwmtx); } _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"