mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[PATCH] rename net_random to random32
Make net_random() more widely available by calling it random32 akpm: hopefully this will permit the removal of carta_random32. That needs confirmation from Stephane - this code looks somewhat more computationally expensive, and has a different (ie: callee-stateful) interface. [akpm@osdl.org: lots of build fixes, cleanups] Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net> Cc: Stephane Eranian <eranian@hpl.hp.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
0187f879ee
commit
aaa248f6c9
6 changed files with 150 additions and 122 deletions
|
@ -69,6 +69,9 @@ extern struct file_operations random_fops, urandom_fops;
|
|||
unsigned int get_random_int(void);
|
||||
unsigned long randomize_range(unsigned long start, unsigned long end, unsigned long len);
|
||||
|
||||
u32 random32(void);
|
||||
void srandom32(u32 seed);
|
||||
|
||||
#endif /* __KERNEL___ */
|
||||
|
||||
#endif /* _LINUX_RANDOM_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue