Date: Fri, 30 Oct 2015 19:32:30 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r290204 - head/sys/kern Message-ID: <201510301932.t9UJWUYi037593@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Fri Oct 30 19:32:30 2015 New Revision: 290204 URL: https://svnweb.freebsd.org/changeset/base/290204 Log: Also mark compat32 umtx op table as constant. Sponsored by: The FreeBSD Foundation MFC after: 1 week Modified: head/sys/kern/kern_umtx.c Modified: head/sys/kern/kern_umtx.c ============================================================================== --- head/sys/kern/kern_umtx.c Fri Oct 30 19:26:55 2015 (r290203) +++ head/sys/kern/kern_umtx.c Fri Oct 30 19:32:30 2015 (r290204) @@ -3734,7 +3734,7 @@ __umtx_op_nwake_private32(struct thread return (error); } -static _umtx_op_func op_table_compat32[] = { +static const _umtx_op_func op_table_compat32[] = { [UMTX_OP_RESERVED0] = __umtx_op_unimpl, [UMTX_OP_RESERVED1] = __umtx_op_unimpl, [UMTX_OP_WAIT] = __umtx_op_wait_compat32,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510301932.t9UJWUYi037593>