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/sparc64/dev/msi.c | |
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/sparc64/dev/msi.c')
-rw-r--r-- | sys/arch/sparc64/dev/msi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/msi.c b/sys/arch/sparc64/dev/msi.c index 1bd6cc9925d..5b8e5dd0336 100644 --- a/sys/arch/sparc64/dev/msi.c +++ b/sys/arch/sparc64/dev/msi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: msi.c,v 1.1 2011/07/06 05:35:53 kettenis Exp $ */ +/* $OpenBSD: msi.c,v 1.2 2014/07/12 18:44:43 tedu Exp $ */ /* * Copyright (c) 2011 Mark Kettenis <kettenis@openbsd.org> * @@ -82,5 +82,5 @@ msi_eq_free(bus_dma_tag_t t, struct msi_eq *meq) bus_dmamem_unmap(t, meq->meq_va, size); bus_dmamem_free(t, &meq->meq_seg, 1); bus_dmamap_destroy(t, meq->meq_map); - free(meq, M_DEVBUF); + free(meq, M_DEVBUF, 0); } |