Commit fc4a925f authored by Heiko Carstens's avatar Heiko Carstens Committed by Vasily Gorbik
Browse files

s390/crypto: use store_tod_clock_ext()



Use store_tod_clock_ext() in order to be able to get rid
get_tod_clock_ext().

Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
parent 01f224b9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -414,7 +414,7 @@ static int __init prng_sha512_instantiate(void)
	}

	/* append the seed by 16 bytes of unique nonce */
	get_tod_clock_ext(seed + seedlen);
	store_tod_clock_ext((union tod_clock *)(seed + seedlen));
	seedlen += 16;

	/* now initial seed of the prno drng */