Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev kill _RUMPKERNEL ifdef
details: https://anonhg.NetBSD.org/src/rev/61b76a755db5
branches: trunk
changeset: 327579:61b76a755db5
user: pooka <pooka%NetBSD.org@localhost>
date: Tue Mar 11 20:35:47 2014 +0000
description:
kill _RUMPKERNEL ifdef
diffstat:
sys/dev/rndpseudo.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 43212e774763 -r 61b76a755db5 sys/dev/rndpseudo.c
--- a/sys/dev/rndpseudo.c Tue Mar 11 20:32:05 2014 +0000
+++ b/sys/dev/rndpseudo.c Tue Mar 11 20:35:47 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rndpseudo.c,v 1.17 2013/09/25 03:14:55 riastradh Exp $ */
+/* $NetBSD: rndpseudo.c,v 1.18 2014/03/11 20:35:47 pooka Exp $ */
/*-
* Copyright (c) 1997-2013 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rndpseudo.c,v 1.17 2013/09/25 03:14:55 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rndpseudo.c,v 1.18 2014/03/11 20:35:47 pooka Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -66,7 +66,7 @@
#include <dev/rnd_private.h>
-#if defined(__HAVE_CPU_COUNTER) && !defined(_RUMPKERNEL) /* XXX: bad pooka */
+#if defined(__HAVE_CPU_COUNTER)
#include <machine/cpu_counter.h>
#endif
@@ -165,7 +165,7 @@
{
struct timeval tv;
-#if defined(__HAVE_CPU_COUNTER) && !defined(_RUMPKERNEL) /* XXX: bad pooka */
+#if defined(__HAVE_CPU_COUNTER)
if (cpu_hascounter())
return (cpu_counter32());
#endif
Home |
Main Index |
Thread Index |
Old Index