- Use ICU_LEN rather than NHWI for the size of the array of ithreads.

- Remove unneeded include of sys/ipl.h.
This commit is contained in:
John Baldwin 2001-05-15 22:31:08 +00:00
parent c96d52a913
commit d008c720b6
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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