diff options
| author | Tony Lindgren <tony@atomide.com> | 2018-08-28 12:58:03 -0400 |
|---|---|---|
| committer | Tony Lindgren <tony@atomide.com> | 2018-08-28 12:58:03 -0400 |
| commit | ea4d65f14f6aaa53e379b93c5544245ef081b3e7 (patch) | |
| tree | a15485f4f1cf547a52b31fa8e16e14b9579b7200 /include/linux/random.h | |
| parent | ce32d59ee2cd036f6e8a6ed17a06a0b0bec5c67c (diff) | |
| parent | 496f3347d834aec91c38b45d6249ed00f58ad233 (diff) | |
Merge branch 'perm-fix' into omap-for-v4.19/fixes-v2
Diffstat (limited to 'include/linux/random.h')
| -rw-r--r-- | include/linux/random.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/random.h b/include/linux/random.h index 2ddf13b4281e..445a0ea4ff49 100644 --- a/include/linux/random.h +++ b/include/linux/random.h | |||
| @@ -36,9 +36,10 @@ extern void add_interrupt_randomness(int irq, int irq_flags) __latent_entropy; | |||
| 36 | 36 | ||
| 37 | extern void get_random_bytes(void *buf, int nbytes); | 37 | extern void get_random_bytes(void *buf, int nbytes); |
| 38 | extern int wait_for_random_bytes(void); | 38 | extern int wait_for_random_bytes(void); |
| 39 | extern bool rng_is_initialized(void); | ||
| 39 | extern int add_random_ready_callback(struct random_ready_callback *rdy); | 40 | extern int add_random_ready_callback(struct random_ready_callback *rdy); |
| 40 | extern void del_random_ready_callback(struct random_ready_callback *rdy); | 41 | extern void del_random_ready_callback(struct random_ready_callback *rdy); |
| 41 | extern void get_random_bytes_arch(void *buf, int nbytes); | 42 | extern int __must_check get_random_bytes_arch(void *buf, int nbytes); |
| 42 | 43 | ||
| 43 | #ifndef MODULE | 44 | #ifndef MODULE |
| 44 | extern const struct file_operations random_fops, urandom_fops; | 45 | extern const struct file_operations random_fops, urandom_fops; |
