diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-07-12 18:44:44 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-07-12 18:44:44 +0000 |
commit | 48b6cac396e42c57b5037f5a67d6cd7afb1733d6 (patch) | |
tree | 29d721c60c102e5fb6ed78e8ad45bbda321c951f /sys/arch/landisk | |
parent | a29a93ecbd0d69878182d5959b330ae5badcadc7 (diff) |
add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.
Diffstat (limited to 'sys/arch/landisk')
-rw-r--r-- | sys/arch/landisk/landisk/bus_dma.c | 4 | ||||
-rw-r--r-- | sys/arch/landisk/landisk/intr.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/landisk/landisk/bus_dma.c b/sys/arch/landisk/landisk/bus_dma.c index fe4c516a500..172a2fc40b2 100644 --- a/sys/arch/landisk/landisk/bus_dma.c +++ b/sys/arch/landisk/landisk/bus_dma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bus_dma.c,v 1.10 2014/07/11 09:36:26 mpi Exp $ */ +/* $OpenBSD: bus_dma.c,v 1.11 2014/07/12 18:44:42 tedu Exp $ */ /* $NetBSD: bus_dma.c,v 1.1 2006/09/01 21:26:18 uwe Exp $ */ /* @@ -126,7 +126,7 @@ _bus_dmamap_destroy(bus_dma_tag_t t, bus_dmamap_t map) DPRINTF(("bus_dmamap_destroy: t = %p, map = %p\n", t, map)); - free(map, M_DEVBUF); + free(map, M_DEVBUF, 0); } static inline int diff --git a/sys/arch/landisk/landisk/intr.c b/sys/arch/landisk/landisk/intr.c index 7e73e7c3c2f..5c2d34e46c5 100644 --- a/sys/arch/landisk/landisk/intr.c +++ b/sys/arch/landisk/landisk/intr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.c,v 1.8 2014/03/29 18:09:29 guenther Exp $ */ +/* $OpenBSD: intr.c,v 1.9 2014/07/12 18:44:42 tedu Exp $ */ /* $NetBSD: intr.c,v 1.1 2006/09/01 21:26:18 uwe Exp $ */ /*- @@ -237,7 +237,7 @@ extintr_disestablish(void *aux) evcount_detach(&ih->ih_count); #endif - free((void *)ih, M_DEVBUF); + free((void *)ih, M_DEVBUF, 0); if (--eih->eih_nih == 0) { intc_intr_disestablish(eih->eih_func); |