rand_initialize() -- bug??

C. Scott Ananian (cananian@lcs.mit.edu)
Mon, 12 Jan 1998 23:17:30 -0500 (EST)


Does anyone know why rand_initialize() is called twice?
chr_dev_init() in drivers/char/mem.c contains a call to rand_initialize(),
and rand_initialize() itself (in drivers/char/random.c) is an __initfunc,
so it is called automagically upon initialization.
It seems like one of these calls is redundant. Am I wrong?
--Scott
@ @
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-oOO-(_)-OOo-=-=-=-=-=
C. Scott Ananian: cananian@lcs.mit.edu / Declare the Truth boldly and
Laboratory for Computer Science/Crypto / without hindrance.
Massachusetts Institute of Technology /META-PARRESIAS AKOLUTOS:Acts 28:31
-.-. .-.. .. ..-. ..-. --- .-. -.. ... -.-. --- - - .- -. .- -. .. .- -.
PGP key available via finger and from http://www.pdos.lcs.mit.edu/~cananian