random: run random_int_secret_init() run after all late_initcalls
authorTheodore Ts'o <tytso@mit.edu>
Tue, 10 Sep 2013 14:52:35 +0000 (10:52 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 23 Sep 2013 10:35:06 +0000 (06:35 -0400)
commit47d06e532e95b71c0db3839ebdef3fe8812fca2c
treef8d5c68cf8b0e4a8dcf107a41aa46f5aa82f7722
parent6e4664525b1db28f8c4e1130957f70a94c19213e
random: run random_int_secret_init() run after all late_initcalls

The some platforms (e.g., ARM) initializes their clocks as
late_initcalls for some unknown reason.  So make sure
random_int_secret_init() is run after all of the late_initcalls are
run.

Cc: stable@vger.kernel.org
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
drivers/char/random.c
include/linux/random.h
init/main.c