projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kobject: Don't trigger kobject_uevent(KOBJ_REMOVE) twice.
[platform/kernel/linux-rpi.git]
/
lib
/
sbitmap.c
diff --git
a/lib/sbitmap.c
b/lib/sbitmap.c
index
fdd1b8a
..
0572ac3
100644
(file)
--- a/
lib/sbitmap.c
+++ b/
lib/sbitmap.c
@@
-356,7
+356,7
@@
static void sbitmap_queue_update_wake_batch(struct sbitmap_queue *sbq,
* to ensure that the batch size is updated before the wait
* counts.
*/
- smp_mb
__before_atomic
();
+ smp_mb();
for (i = 0; i < SBQ_WAIT_QUEUES; i++)
atomic_set(&sbq->ws[i].wait_cnt, 1);
}