summaryrefslogtreecommitdiff
path: root/sys/dev/ic/i82365.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/i82365.c')
-rw-r--r--sys/dev/ic/i82365.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ic/i82365.c b/sys/dev/ic/i82365.c
index 797391f7945..1dd43555e17 100644
--- a/sys/dev/ic/i82365.c
+++ b/sys/dev/ic/i82365.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: i82365.c,v 1.31 2014/07/08 17:19:25 deraadt Exp $ */
+/* $OpenBSD: i82365.c,v 1.32 2014/07/12 18:48:17 tedu Exp $ */
/* $NetBSD: i82365.c,v 1.10 1998/06/09 07:36:55 thorpej Exp $ */
/*
@@ -469,9 +469,9 @@ pcic_event_process(h, pe)
break;
if (pe2->pe_type == PCIC_EVENT_INSERTION) {
SIMPLEQ_REMOVE_HEAD(&h->events, pe_q);
- free(pe1, M_TEMP);
+ free(pe1, M_TEMP, 0);
SIMPLEQ_REMOVE_HEAD(&h->events, pe_q);
- free(pe2, M_TEMP);
+ free(pe2, M_TEMP, 0);
}
}
splx(s);
@@ -493,9 +493,9 @@ pcic_event_process(h, pe)
break;
if (pe2->pe_type == PCIC_EVENT_REMOVAL) {
SIMPLEQ_REMOVE_HEAD(&h->events, pe_q);
- free(pe1, M_TEMP);
+ free(pe1, M_TEMP, 0);
SIMPLEQ_REMOVE_HEAD(&h->events, pe_q);
- free(pe2, M_TEMP);
+ free(pe2, M_TEMP, 0);
}
}
splx(s);
@@ -507,7 +507,7 @@ pcic_event_process(h, pe)
default:
panic("pcic_event_thread: unknown event %d", pe->pe_type);
}
- free(pe, M_TEMP);
+ free(pe, M_TEMP, 0);
}
void