diff options
Diffstat (limited to 'lib/list_debug.c')
| -rw-r--r-- | lib/list_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/list_debug.c b/lib/list_debug.c index c24c2f7e296f..3859bf63561c 100644 --- a/lib/list_debug.c +++ b/lib/list_debug.c | |||
| @@ -37,7 +37,7 @@ void __list_add(struct list_head *new, | |||
| 37 | next->prev = new; | 37 | next->prev = new; |
| 38 | new->next = next; | 38 | new->next = next; |
| 39 | new->prev = prev; | 39 | new->prev = prev; |
| 40 | prev->next = new; | 40 | WRITE_ONCE(prev->next, new); |
| 41 | } | 41 | } |
| 42 | EXPORT_SYMBOL(__list_add); | 42 | EXPORT_SYMBOL(__list_add); |
| 43 | 43 | ||
