summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-05-15 22:31:08 +0000
committerjhb <jhb@FreeBSD.org>2001-05-15 22:31:08 +0000
commit1416b59ebce34ac2940538674c99014bcc6ffedc (patch)
tree29e23e9d754d93ace071f636ba2fcda4727af29e /sys/i386
parent8865204035447b7da08d8f8b4dba8f20776349a3 (diff)
downloadFreeBSD-src-1416b59ebce34ac2940538674c99014bcc6ffedc.zip
FreeBSD-src-1416b59ebce34ac2940538674c99014bcc6ffedc.tar.gz
- Use ICU_LEN rather than NHWI for the size of the array of ithreads.
- Remove unneeded include of sys/ipl.h.
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/isa/ithread.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/i386/isa/ithread.c b/sys/i386/isa/ithread.c
index 4f71516..a148e7b 100644
--- a/sys/i386/isa/ithread.c
+++ b/sys/i386/isa/ithread.c
@@ -37,7 +37,6 @@
#include <sys/proc.h>
#include <sys/systm.h>
#include <sys/syslog.h>
-#include <sys/ipl.h>
#include <sys/kernel.h>
#include <sys/kthread.h>
#include <sys/malloc.h>
@@ -67,7 +66,7 @@ struct int_entropy {
int irq;
};
-static u_int straycount[NHWI];
+static u_int straycount[ICU_LEN];
#define MAX_STRAY_LOG 5
OpenPOWER on IntegriCloud