projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'pm-cpuidle'
[cascardo/linux.git]
/
lib
/
list_debug.c
diff --git
a/lib/list_debug.c
b/lib/list_debug.c
index
c24c2f7
..
3859bf6
100644
(file)
--- a/
lib/list_debug.c
+++ b/
lib/list_debug.c
@@
-37,7
+37,7
@@
void __list_add(struct list_head *new,
next->prev = new;
new->next = next;
new->prev = prev;
-
prev->next = new
;
+
WRITE_ONCE(prev->next, new)
;
}
EXPORT_SYMBOL(__list_add);