Date: Fri, 17 Nov 2017 02:59:28 +0000 (UTC) From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r325925 - head/sys/kern Message-ID: <201711170259.vAH2xS2I059562@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mjg Date: Fri Nov 17 02:59:28 2017 New Revision: 325925 URL: https://svnweb.freebsd.org/changeset/base/325925 Log: mtx: add missing parts of the diff in r325920 Fixes build breakage. Modified: head/sys/kern/kern_mutex.c Modified: head/sys/kern/kern_mutex.c ============================================================================== --- head/sys/kern/kern_mutex.c Fri Nov 17 02:45:38 2017 (r325924) +++ head/sys/kern/kern_mutex.c Fri Nov 17 02:59:28 2017 (r325925) @@ -463,7 +463,7 @@ __mtx_lock_sleep(volatile uintptr_t *c, uintptr_t v) struct turnstile *ts; uintptr_t tid; #ifdef ADAPTIVE_MUTEXES - volatile struct thread *owner; + struct thread *owner; #endif #ifdef KTR int cont_logged = 0; @@ -1003,7 +1003,7 @@ __mtx_unlock_sleep(volatile uintptr_t *c) { struct mtx *m; struct turnstile *ts; - uintptr_t tid; + uintptr_t tid, v; if (SCHEDULER_STOPPED()) return;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711170259.vAH2xS2I059562>