aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2015-10-30 19:32:30 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2015-10-30 19:32:30 +0000
commit2936e0013c9226e2329769ddcbc987cca33023e0 (patch)
tree7f75210a40a18db4f0c76b2b45546cff00819f26
parentc539e87014adfa1ab1cc29a2e891302a20c0e138 (diff)
downloadsrc-2936e0013c9226e2329769ddcbc987cca33023e0.tar.gz
src-2936e0013c9226e2329769ddcbc987cca33023e0.zip
Also mark compat32 umtx op table as constant.
Sponsored by: The FreeBSD Foundation MFC after: 1 week
Notes
Notes: svn path=/head/; revision=290204
-rw-r--r--sys/kern/kern_umtx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_umtx.c b/sys/kern/kern_umtx.c
index 8e222051508d..535d34c8697c 100644
--- a/sys/kern/kern_umtx.c
+++ b/sys/kern/kern_umtx.c
@@ -3734,7 +3734,7 @@ __umtx_op_nwake_private32(struct thread *td, struct _umtx_op_args *uap)
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,