summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2014-04-25 00:36:37 -0700
committerJens Axboe <axboe@fb.com>2014-04-28 09:29:55 -0600
commitbdcfa3e57c9d92b082d2378bc9a64a3a8750fa8d (patch)
treed5cf798944ddc6d347cae02e5bd0df2fe8b5a0e3 /drivers/char
parentc4a634f432376a28c9639b35746e33168ab97709 (diff)
downloadlinux-bdcfa3e57c9d92b082d2378bc9a64a3a8750fa8d.tar.bz2
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')
-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
/*********************************************************************