diff options
author | jhb <jhb@FreeBSD.org> | 2001-05-15 22:31:08 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-05-15 22:31:08 +0000 |
commit | 1416b59ebce34ac2940538674c99014bcc6ffedc (patch) | |
tree | 29e23e9d754d93ace071f636ba2fcda4727af29e /sys/amd64/isa | |
parent | 8865204035447b7da08d8f8b4dba8f20776349a3 (diff) | |
download | FreeBSD-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/amd64/isa')
-rw-r--r-- | sys/amd64/isa/ithread.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/amd64/isa/ithread.c b/sys/amd64/isa/ithread.c index 4f71516..a148e7b 100644 --- a/sys/amd64/isa/ithread.c +++ b/sys/amd64/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 |