Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
8e654dd6
Commit
8e654dd6
authored
Jan 11, 2015
by
Ingo Molnar
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'core/urgent' into locking/urgent, to collect all pending locking fixes
Signed-off-by:
Ingo Molnar
<
mingo@kernel.org
>
parents
a63b03e2
84dccbee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tools/lib/lockdep/preload.c
tools/lib/lockdep/preload.c
+2
-2
No files found.
tools/lib/lockdep/preload.c
View file @
8e654dd6
...
...
@@ -317,7 +317,7 @@ int pthread_mutex_destroy(pthread_mutex_t *mutex)
*
* TODO: Hook into free() and add that check there as well.
*/
debug_check_no_locks_freed
(
mutex
,
mutex
+
sizeof
(
*
mutex
));
debug_check_no_locks_freed
(
mutex
,
sizeof
(
*
mutex
));
__del_lock
(
__get_lock
(
mutex
));
return
ll_pthread_mutex_destroy
(
mutex
);
}
...
...
@@ -341,7 +341,7 @@ int pthread_rwlock_destroy(pthread_rwlock_t *rwlock)
{
try_init_preload
();
debug_check_no_locks_freed
(
rwlock
,
rwlock
+
sizeof
(
*
rwlock
));
debug_check_no_locks_freed
(
rwlock
,
sizeof
(
*
rwlock
));
__del_lock
(
__get_lock
(
rwlock
));
return
ll_pthread_rwlock_destroy
(
rwlock
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment