Fix: nestable pthread cancelstate
[lttng-ust.git] / src / lib / lttng-ust-common / lttng-ust-urcu.c
index 4629067fff2c25878cfcd7f3dcc0afa600863519..0b2d6fc05a9f5c44c720f3f3e57c5901124d10ba 100644 (file)
@@ -52,8 +52,10 @@ void *mremap_wrapper(void *old_address, size_t old_size,
  * This is not generic.
 */
 static
-void *mremap_wrapper(void *old_address, size_t old_size,
-               size_t new_size, int flags)
+void *mremap_wrapper(void *old_address __attribute__((unused)),
+               size_t old_size __attribute__((unused)),
+               size_t new_size __attribute__((unused)),
+               int flags)
 {
        assert(!(flags & MREMAP_MAYMOVE));
 
@@ -273,7 +275,7 @@ void lttng_ust_urcu_synchronize_rcu(void)
        /*
         * Wait for readers to observe original parity or be quiescent.
         * wait_for_readers() can release and grab again rcu_registry_lock
-        * interally.
+        * internally.
         */
        wait_for_readers(&registry, &cur_snap_readers, &qsreaders);
 
@@ -304,7 +306,7 @@ void lttng_ust_urcu_synchronize_rcu(void)
        /*
         * Wait for readers to observe new parity or be quiescent.
         * wait_for_readers() can release and grab again rcu_registry_lock
-        * interally.
+        * internally.
         */
        wait_for_readers(&cur_snap_readers, NULL, &qsreaders);
 
This page took 0.02341 seconds and 4 git commands to generate.