diff options
author | markm <markm@FreeBSD.org> | 2003-11-18 14:35:43 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2003-11-18 14:35:43 +0000 |
commit | 832b97971fd86ac54a92ff83fe5d6cfead9bc01c (patch) | |
tree | 3e6dfc2ded65ed2bb5729c6cfa5b07ef967deb79 /sys/kern/kern_intr.c | |
parent | 3b85e0cc9c427c6abeaacdc482d16c6fa3d9f917 (diff) | |
download | FreeBSD-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/kern_intr.c')
-rw-r--r-- | sys/kern/kern_intr.c | 4 |
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; |