From 832b97971fd86ac54a92ff83fe5d6cfead9bc01c Mon Sep 17 00:00:00 2001 From: markm Date: Tue, 18 Nov 2003 14:35:43 +0000 Subject: 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) --- sys/kern/kern_intr.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/kern') 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; -- cgit v1.1