]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86: pageattr-test: remove srandom32 call
authorAkinobu Mita <akinobu.mita@gmail.com>
Tue, 26 Mar 2013 23:26:06 +0000 (10:26 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 27 Mar 2013 04:33:50 +0000 (15:33 +1100)
commit048aeed2e30c355d69ab4b87083d03c52e2fc034
tree6085d0563e599c4da9a19a637640163f5d18ddac
parent06eab6ced4202e3e72b05240e147ed5018e991d9
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