diff options
| author | Peter Zijlstra <[email protected]> | 2018-03-15 11:43:43 +0100 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2018-03-20 08:23:21 +0100 |
| commit | dc5d4afbb0bf7b7746ff5e56e1a5688ad7f29b32 (patch) | |
| tree | aab1e218aa98304737514a9c46416c0d44c200e6 /include/linux | |
| parent | 4625956a4ec20c623acbbb0c6d60fcb388387ba8 (diff) | |
sched/wait, fs/fscache: Convert wait_on_atomic_t() usage to the new wait_var_event() API
The old wait_on_atomic_t() is going to get removed, use the more
flexible wait_var_event() API instead.
No change in functionality.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: David Howells <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/fscache-cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fscache-cache.h b/include/linux/fscache-cache.h index 4c467ef50159..3b03e29e2f1a 100644 --- a/include/linux/fscache-cache.h +++ b/include/linux/fscache-cache.h @@ -496,7 +496,7 @@ static inline bool __fscache_unuse_cookie(struct fscache_cookie *cookie) static inline void __fscache_wake_unused_cookie(struct fscache_cookie *cookie) { - wake_up_atomic_t(&cookie->n_active); + wake_up_var(&cookie->n_active); } /** |