[PATCH 2/4] Export get_random_int()

From: Kent Overstreet
Date: Tue Jan 15 2013 - 16:28:04 EST


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@xxxxxxxxxx>
CC: "Theodore Ts'o" <tytso@xxxxxxx>
---
drivers/char/random.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/char/random.c b/drivers/char/random.c
index 85e81ec..d6f673e 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -1481,6 +1481,7 @@ unsigned int get_random_int(void)

return ret;
}
+EXPORT_SYMBOL(get_random_int);

/*
* randomize_range() returns a start address such that
--
1.7.12

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/