Author: kib
Date: Fri Oct 30 19:32:30 2015
New Revision: 290204
URL: https://svnweb.freebsd.org/changeset/base/290204

Log:
  Also mark compat32 umtx op table as constant.
  
  Sponsored by: The FreeBSD Foundation
  MFC after:    1 week

Modified:
  head/sys/kern/kern_umtx.c

Modified: head/sys/kern/kern_umtx.c
==============================================================================
--- head/sys/kern/kern_umtx.c   Fri Oct 30 19:26:55 2015        (r290203)
+++ head/sys/kern/kern_umtx.c   Fri Oct 30 19:32:30 2015        (r290204)
@@ -3734,7 +3734,7 @@ __umtx_op_nwake_private32(struct thread 
        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,
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to