diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-02-07 01:19:41 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-02-07 01:19:41 +0000 |
commit | 560466b4d8ed869f11e0e64c911ed571c8a72a45 (patch) | |
tree | afcf89c873d6c4a174847778e4422c71ae9cd6ea /sys/arch/loongson | |
parent | 9e6116250947a5005add48c1f4de9c3033f151be (diff) |
New framework that allows hibernate to pass in entropy from it's fresh
boot.
ok mlarkin
Diffstat (limited to 'sys/arch/loongson')
-rw-r--r-- | sys/arch/loongson/dev/apm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/loongson/dev/apm.c b/sys/arch/loongson/dev/apm.c index 149e22b72b4..f04599fcc98 100644 --- a/sys/arch/loongson/dev/apm.c +++ b/sys/arch/loongson/dev/apm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apm.c,v 1.27 2014/12/19 14:15:50 deraadt Exp $ */ +/* $OpenBSD: apm.c,v 1.28 2015/02/07 01:19:40 deraadt Exp $ */ /*- * Copyright (c) 2001 Alexander Guy. All rights reserved. @@ -418,7 +418,7 @@ apm_suspend(int state) (void)enableintr(); splx(s); - resume_randomness(); /* force RNG upper level reseed */ + resume_randomness(NULL, 0); /* force RNG upper level reseed */ bufq_restart(); config_suspend_all(DVACT_WAKEUP); |