Page MenuHomeFreeBSD

D29327.id85971.diff
No OneTemporary

D29327.id85971.diff

Index: sys/kern/subr_intr.c
===================================================================
--- sys/kern/subr_intr.c
+++ sys/kern/subr_intr.c
@@ -143,7 +143,7 @@
#endif
#endif
-int intr_nirq = NIRQ;
+u_int intr_nirq = NIRQ;
SYSCTL_UINT(_machdep, OID_AUTO, nirq, CTLFLAG_RDTUN, &intr_nirq, 0,
"Number of IRQs");
@@ -166,7 +166,7 @@
static void
intr_irq_init(void *dummy __unused)
{
- int intrcnt_count;
+ u_int intrcnt_count;
SLIST_INIT(&pic_list);
mtx_init(&pic_list_lock, "intr pic list", NULL, MTX_DEF);
@@ -1578,8 +1578,8 @@
/* XXX Convert irq_map[] to dynamicaly expandable one. */
static struct intr_map_entry **irq_map;
-static int irq_map_count;
-static int irq_map_first_free_idx;
+static u_int irq_map_count;
+static u_int irq_map_first_free_idx;
static struct mtx irq_map_lock;
static struct intr_irqsrc *

File Metadata

Mime Type
text/plain
Expires
Mon, Oct 13, 8:25 AM (13 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23666570
Default Alt Text
D29327.id85971.diff (849 B)

Event Timeline