diff options
author | kib <kib@FreeBSD.org> | 2015-10-30 19:32:30 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2015-10-30 19:32:30 +0000 |
commit | eddc63a9989aa0d38423a71fef3d817c7ddb9d57 (patch) | |
tree | 7f75210a40a18db4f0c76b2b45546cff00819f26 /sys/kern | |
parent | 25e819cedd6ef2f503d60a3f8e759d0c0df5f769 (diff) | |
download | FreeBSD-src-eddc63a9989aa0d38423a71fef3d817c7ddb9d57.zip FreeBSD-src-eddc63a9989aa0d38423a71fef3d817c7ddb9d57.tar.gz |
Also mark compat32 umtx op table as constant.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_umtx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_umtx.c b/sys/kern/kern_umtx.c index 8e22205..535d34c 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, |