summaryrefslogtreecommitdiff
path: root/nptl/allocatestack.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/allocatestack.c')
-rw-r--r--nptl/allocatestack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/allocatestack.c b/nptl/allocatestack.c
index 95ee992a18..9653b62cab 100644
--- a/nptl/allocatestack.c
+++ b/nptl/allocatestack.c
@@ -111,7 +111,7 @@ static unsigned int nptl_ncreated;
/* Check whether the stack is still used or not. */
-#define FREE_P(descr) ((descr)->tid == 0)
+#define FREE_P(descr) ((descr)->tid <= 0)
/* We create a double linked list of all cache entries. Double linked