summaryrefslogtreecommitdiffstats
path: root/drivers/char/random.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2014-04-25 09:36:37 +0200
committerJens Axboe <axboe@fb.com>2014-04-28 17:29:55 +0200
commitbdcfa3e57c9d92b082d2378bc9a64a3a8750fa8d (patch)
treed5cf798944ddc6d347cae02e5bd0df2fe8b5a0e3 /drivers/char/random.c
parentblock: fold __blk_add_timer into blk_add_timer (diff)
downloadlinux-bdcfa3e57c9d92b082d2378bc9a64a3a8750fa8d.tar.xz
linux-bdcfa3e57c9d92b082d2378bc9a64a3a8750fa8d.zip
random: export add_disk_randomness
This will be needed for pending changes to the scsi midlayer that now calls lower level block APIs, as well as any blk-mq driver that wants to contribute to the random pool. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: "Theodore Ts'o" <tytso@mit.edu> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/char/random.c')
-rw-r--r--drivers/char/random.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/random.c b/drivers/char/random.c
index 6b75713d953a..0a19d866a153 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -902,6 +902,7 @@ void add_disk_randomness(struct gendisk *disk)
add_timer_randomness(disk->random, 0x100 + disk_devt(disk));
trace_add_disk_randomness(disk_devt(disk), ENTROPY_BITS(&input_pool));
}
+EXPORT_SYMBOL_GPL(add_disk_randomness);
#endif
/*********************************************************************