From: Christoph Hellwig Date: Fri, 25 Apr 2014 07:36:37 +0000 (-0700) Subject: random: export add_disk_randomness X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bdcfa3e57c9d92b082d2378bc9a64a3a8750fa8d;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Acked-by: "Theodore Ts'o" Signed-off-by: Jens Axboe --- 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 /*********************************************************************