2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 13:13:57 +08:00

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>
This commit is contained in:
Kent Overstreet 2012-04-09 00:39:00 -04:00
parent 84759c6d18
commit 1f8e8ed051

View File

@ -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