about summary refs log tree commit diff
path: root/sysdeps/powerpc/nptl/elide.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/powerpc/nptl/elide.h')
-rw-r--r--sysdeps/powerpc/nptl/elide.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/powerpc/nptl/elide.h b/sysdeps/powerpc/nptl/elide.h
index 77bd82ecba..835fd92968 100644
--- a/sysdeps/powerpc/nptl/elide.h
+++ b/sysdeps/powerpc/nptl/elide.h
@@ -102,6 +102,9 @@ __elide_unlock (int is_lock_free)
 {
   if (is_lock_free)
     {
+      /* This code is expected to crash when trying to unlock a lock not
+	 held by this thread.  More information is available in the
+	 __pthread_rwlock_unlock() implementation.  */
       __libc_tend (0);
       return true;
     }