Skip to content

Commit 1f8e8ed

Browse files
author
Kent Overstreet
committed
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 <[email protected]> CC: "Theodore Ts'o" <[email protected]>
1 parent 84759c6 commit 1f8e8ed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/char/random.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1485,6 +1485,7 @@ unsigned int get_random_int(void)
14851485

14861486
return ret;
14871487
}
1488+
EXPORT_SYMBOL(get_random_int);
14881489

14891490
/*
14901491
* randomize_range() returns a start address such that

0 commit comments

Comments
 (0)