]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86: pageattr-test: remove srandom32 call
authorAkinobu Mita <akinobu.mita@gmail.com>
Sat, 23 Mar 2013 02:32:58 +0000 (13:32 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 26 Mar 2013 05:11:39 +0000 (16:11 +1100)
commit4b68d75399be4dff31bf7e913aa789d477614476
tree483f0796ddbb7303c589a78a385a16f277d9cef8
parentebca24c25dc6f13a5bfe462f5910773f359305e1
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