Also mark compat32 umtx op table as constant.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2015-10-30 19:32:30 +00:00
parent c539e87014
commit 2936e0013c

View File

@ -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,