svn commit: r290204 - head/sys/kern
Konstantin Belousov
kib at FreeBSD.org
Fri Oct 30 19:32:31 UTC 2015
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,
More information about the svn-src-all
mailing list