projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mm: fix memcg stack accounting for sub-page stacks
[cascardo/linux.git]
/
kernel
/
smp.c
diff --git
a/kernel/smp.c
b/kernel/smp.c
index
7416544
..
36552be
100644
(file)
--- a/
kernel/smp.c
+++ b/
kernel/smp.c
@@
-107,7
+107,7
@@
void __init call_function_init(void)
*/
static __always_inline void csd_lock_wait(struct call_single_data *csd)
{
*/
static __always_inline void csd_lock_wait(struct call_single_data *csd)
{
- smp_cond_
acquire(!(csd->flags
& CSD_FLAG_LOCK));
+ smp_cond_
load_acquire(&csd->flags, !(VAL
& CSD_FLAG_LOCK));
}
static __always_inline void csd_lock(struct call_single_data *csd)
}
static __always_inline void csd_lock(struct call_single_data *csd)