summaryrefslogtreecommitdiff
path: root/include/linux/once.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/once.h')
-rw-r--r--include/linux/once.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/once.h b/include/linux/once.h
index 285f12cb40e6..9c98aaa87cbc 100644
--- a/include/linux/once.h
+++ b/include/linux/once.h
@@ -53,5 +53,7 @@ void __do_once_done(bool *done, struct static_key *once_key,
#define get_random_once(buf, nbytes) \
DO_ONCE(get_random_bytes, (buf), (nbytes))
+#define get_random_once_wait(buf, nbytes) \
+ DO_ONCE(get_random_bytes_wait, (buf), (nbytes)) \
#endif /* _LINUX_ONCE_H */