]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
Also mark compat32 umtx op table as constant.
authorkib <kib@FreeBSD.org>
Fri, 30 Oct 2015 19:32:30 +0000 (19:32 +0000)
committerkib <kib@FreeBSD.org>
Fri, 30 Oct 2015 19:32:30 +0000 (19:32 +0000)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

sys/kern/kern_umtx.c

index 8e222051508dd032c2c0a151daacf9878112a891..535d34c8697c5660d68100d1e58e599b4189baec 100644 (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,