]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86: pageattr-test: remove srandom32 call
authorAkinobu Mita <akinobu.mita@gmail.com>
Wed, 20 Mar 2013 04:08:44 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 22 Mar 2013 04:34:01 +0000 (15:34 +1100)
commit0b07d0eefb9ee5c533e5924348721beb740ad85e
tree564f2c7569a44542ca7f466ba1b1983adb3ff847
parent1cb227dd5f0d2291228a288ae42976b9a2ba3a5a
x86: pageattr-test: remove srandom32 call

pageattr-test calls srandom32() once every test iteration.  But calling
srandom32() after late_initcalls is not meaningfull.  Because the random
states for random32() is mixed by good random numbers in late_initcall
prandom_reseed().

So this removes the call to srandom32().

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/x86/mm/pageattr-test.c