]> git.baikalelectronics.ru Git - kernel.git/commit
random32: add __init prefix to prandom_start_seed_timer
authorDaniel Borkmann <dborkman@redhat.com>
Tue, 12 Nov 2013 22:45:41 +0000 (23:45 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Nov 2013 21:06:02 +0000 (16:06 -0500)
commit3ff19cdc2193f72bff9c234ef49ea075abd57a16
tree060899ff6acf3bd106d242dc902baa4450ff8e7e
parent13b3d76c0b7628dc8fd2328a92f8f89dbd7d4664
random32: add __init prefix to prandom_start_seed_timer

We only call that in functions annotated with __init, so add __init
prefix in prandom_start_seed_timer() as well, so that the kernel can
make use of this hint and we can possibly free up resources after it's
usage. And since it's an internal function rename it to
__prandom_start_seed_timer().

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/random32.c