From: Kent Overstreet Date: Mon, 9 Apr 2012 04:39:00 +0000 (-0400) Subject: Export get_random_int() X-Git-Tag: v3.10-rc1~48^2~36^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1f8e8ed05184eed5f9adf48fb2f6be00a907a181;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 CC: "Theodore Ts'o" --- 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