projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
radix-tree tests: properly initialize mutex
[cascardo/linux.git]
/
tools
/
testing
/
radix-tree
/
regression1.c
diff --git
a/tools/testing/radix-tree/regression1.c
b/tools/testing/radix-tree/regression1.c
index
2d03a63
..
0d6813a
100644
(file)
--- a/
tools/testing/radix-tree/regression1.c
+++ b/
tools/testing/radix-tree/regression1.c
@@
-43,7
+43,7
@@
#include "regression.h"
static RADIX_TREE(mt_tree, GFP_KERNEL);
-static pthread_mutex_t mt_lock;
+static pthread_mutex_t mt_lock
= PTHREAD_MUTEX_INITIALIZER
;
struct page {
pthread_mutex_t lock;