diff options
author | wpaul <wpaul@FreeBSD.org> | 2001-08-15 17:26:54 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2001-08-15 17:26:54 +0000 |
commit | 0f92f56bab7fd418783c863fca973f29c4bbd234 (patch) | |
tree | 40ed4e6e76d3f1c89abdce9b3afa204bdfb34ca1 /lib/libc/stdlib/malloc.c | |
parent | 7965e326b3d19f97024b7bfe55a1e50dd5c01111 (diff) | |
download | FreeBSD-src-0f92f56bab7fd418783c863fca973f29c4bbd234.zip FreeBSD-src-0f92f56bab7fd418783c863fca973f29c4bbd234.tar.gz |
Teach bus_dmamem_free() about contigfree(). This is a bit of a hack,
but it's better than the buggy behavior we have now. If we contigmalloc()
buffers in bus_dmamem_alloc(), then we must configfree() them in
bus_dmamem_free(). Trying to free() them is wrong, and will cause
a panic (at least, it does on the alpha.)
I tripped over this when trying to kldunload my busdma-ified if_rl
driver.
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions