diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/random32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/random32.c b/lib/random32.c index 82da4f4c3489..4f9d5dffc554 100644 --- a/lib/random32.c +++ b/lib/random32.c | |||
@@ -222,7 +222,7 @@ static void __prandom_timer(unsigned long dontcare) | |||
222 | add_timer(&seed_timer); | 222 | add_timer(&seed_timer); |
223 | } | 223 | } |
224 | 224 | ||
225 | static void prandom_start_seed_timer(void) | 225 | static void __init __prandom_start_seed_timer(void) |
226 | { | 226 | { |
227 | set_timer_slack(&seed_timer, HZ); | 227 | set_timer_slack(&seed_timer, HZ); |
228 | seed_timer.expires = jiffies + 40 * HZ; | 228 | seed_timer.expires = jiffies + 40 * HZ; |
@@ -270,7 +270,7 @@ void prandom_reseed_late(void) | |||
270 | static int __init prandom_reseed(void) | 270 | static int __init prandom_reseed(void) |
271 | { | 271 | { |
272 | __prandom_reseed(false); | 272 | __prandom_reseed(false); |
273 | prandom_start_seed_timer(); | 273 | __prandom_start_seed_timer(); |
274 | return 0; | 274 | return 0; |
275 | } | 275 | } |
276 | late_initcall(prandom_reseed); | 276 | late_initcall(prandom_reseed); |