Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpkern Now that rnd is not optional anymo...
details: https://anonhg.NetBSD.org/src/rev/91d595e08a25
branches: trunk
changeset: 773502:91d595e08a25
user: njoly <njoly%NetBSD.org@localhost>
date: Sat Feb 04 10:02:25 2012 +0000
description:
Now that rnd is not optional anymore, add needed rnd_init() for rump.
Fix dev/{scsipi,sysmon} testcases.
diffstat:
sys/rump/librump/rumpkern/rump.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r d2538d05baa2 -r 91d595e08a25 sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c Sat Feb 04 02:00:07 2012 +0000
+++ b/sys/rump/librump/rumpkern/rump.c Sat Feb 04 10:02:25 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump.c,v 1.239 2012/01/29 14:57:31 njoly Exp $ */
+/* $NetBSD: rump.c,v 1.240 2012/02/04 10:02:25 njoly Exp $ */
/*
* Copyright (c) 2007-2011 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.239 2012/01/29 14:57:31 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.240 2012/02/04 10:02:25 njoly Exp $");
#include <sys/systm.h>
#define ELFSIZE ARCH_ELFSIZE
@@ -315,6 +315,8 @@
secmodel_init();
+ rnd_init();
+
/*
* Create the kernel cprng. Yes, it's currently stubbed out
* to arc4random() for RUMP, but this won't always be so.
Home |
Main Index |
Thread Index |
Old Index