summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2003-11-18 14:35:43 +0000
committermarkm <markm@FreeBSD.org>2003-11-18 14:35:43 +0000
commit832b97971fd86ac54a92ff83fe5d6cfead9bc01c (patch)
tree3e6dfc2ded65ed2bb5729c6cfa5b07ef967deb79 /sys/kern
parent3b85e0cc9c427c6abeaacdc482d16c6fa3d9f917 (diff)
downloadFreeBSD-src-832b97971fd86ac54a92ff83fe5d6cfead9bc01c.zip
FreeBSD-src-832b97971fd86ac54a92ff83fe5d6cfead9bc01c.tar.gz
Hackfix to patch around a kernel panic I introduced. Real fix to
follow. In the meanwhile, we are not harvesting interrupt entropy. Approved by: re (jhb)
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_intr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c
index e42cd10..87b3c9b 100644
--- a/sys/kern/kern_intr.c
+++ b/sys/kern/kern_intr.c
@@ -356,7 +356,9 @@ ok:
int
ithread_schedule(struct ithd *ithread, int do_switch)
{
+#if 0
struct int_entropy entropy;
+#endif
struct thread *td;
struct thread *ctd;
struct proc *p;
@@ -368,6 +370,7 @@ ithread_schedule(struct ithd *ithread, int do_switch)
return (EINVAL);
ctd = curthread;
+#if 0
/*
* If any of the handlers for this ithread claim to be good
* sources of entropy, then gather some.
@@ -378,6 +381,7 @@ ithread_schedule(struct ithd *ithread, int do_switch)
random_harvest(&entropy, sizeof(entropy), 2, 0,
RANDOM_INTERRUPT);
}
+#endif
td = ithread->it_td;
p = td->td_proc;
OpenPOWER on IntegriCloud