Also mark compat32 umtx op table as constant.
Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
c539e87014
commit
2936e0013c
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user