aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/random.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/random.h b/include/linux/random.h
index 6312dd9ba449..bf9085e89fb5 100644
--- a/include/linux/random.h
+++ b/include/linux/random.h
@@ -50,9 +50,9 @@ static inline void prandom_seed_state(struct rnd_state *state, u64 seed)
50{ 50{
51 u32 i = (seed >> 32) ^ (seed << 10) ^ seed; 51 u32 i = (seed >> 32) ^ (seed << 10) ^ seed;
52 52
53 state->s1 = __seed(i, 1); 53 state->s1 = __seed(i, 2);
54 state->s2 = __seed(i, 7); 54 state->s2 = __seed(i, 8);
55 state->s3 = __seed(i, 15); 55 state->s3 = __seed(i, 16);
56} 56}
57 57
58#ifdef CONFIG_ARCH_RANDOM 58#ifdef CONFIG_ARCH_RANDOM