diff options
author | Kent Overstreet <koverstreet@google.com> | 2012-04-09 04:39:00 (GMT) |
---|---|---|
committer | Kent Overstreet <koverstreet@google.com> | 2013-03-23 22:53:52 (GMT) |
commit | 1f8e8ed05184eed5f9adf48fb2f6be00a907a181 (patch) | |
tree | 0ff88a609c907bc852d6f72b369b685eb257ea29 /drivers | |
parent | 84759c6d18c5144432781ddca037d929ee9db8a5 (diff) | |
download | linux-fsl-qoriq-1f8e8ed05184eed5f9adf48fb2f6be00a907a181.tar.xz |
Export get_random_int()
Needed for bcache - need a cheap source of random numbers for perturbing
IO sizes, for rate limiting IO to the SSD.
Signed-off-by: Kent Overstreet <koverstreet@google.com>
CC: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/char/random.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/random.c b/drivers/char/random.c index 32a6c57..cd9a621 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -1485,6 +1485,7 @@ unsigned int get_random_int(void) return ret; } +EXPORT_SYMBOL(get_random_int); /* * randomize_range() returns a start address such that |