random: add back async readiness notifier
[sfrench/cifs-2.6.git] / include / linux / random.h
index 579117d83eb81e8613ad15496045ffa124897877..b1a34181eed6992a6dbedc8313f261baabf06818 100644 (file)
@@ -120,6 +120,7 @@ void __init random_init_early(const char *command_line);
 void __init random_init(void);
 bool rng_is_initialized(void);
 int wait_for_random_bytes(void);
+int execute_with_initialized_rng(struct notifier_block *nb);
 
 /* Calls wait_for_random_bytes() and then calls get_random_bytes(buf, nbytes).
  * Returns the result of the call to wait_for_random_bytes. */