diff options
author | Scott Long <scottl@FreeBSD.org> | 2004-03-13 15:42:59 +0000 |
---|---|---|
committer | Scott Long <scottl@FreeBSD.org> | 2004-03-13 15:42:59 +0000 |
commit | 11d905ecd8d0b1ba3dc4d7c4c3d0981b4ba1d5d9 (patch) | |
tree | 573c8349e7bc94735146f4b69b1ba6f516603a11 /sys/ia64 | |
parent | 980a9b846b37dde7ec4e8090d45e0b3cb9b73be3 (diff) | |
download | src-11d905ecd8d0b1ba3dc4d7c4c3d0981b4ba1d5d9.tar.gz src-11d905ecd8d0b1ba3dc4d7c4c3d0981b4ba1d5d9.zip |
Now that contigfree() does not require Giant, don't grab it in busdma.
Notes
Notes:
svn path=/head/; revision=126919
Diffstat (limited to 'sys/ia64')
-rw-r--r-- | sys/ia64/ia64/busdma_machdep.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/ia64/ia64/busdma_machdep.c b/sys/ia64/ia64/busdma_machdep.c index 29ade1f87200..732b751914d8 100644 --- a/sys/ia64/ia64/busdma_machdep.c +++ b/sys/ia64/ia64/busdma_machdep.c @@ -458,9 +458,7 @@ bus_dmamem_free(bus_dma_tag_t dmat, void *vaddr, bus_dmamap_t map) if ((dmat->maxsize <= PAGE_SIZE) && dmat->lowaddr >= ptoa(Maxmem)) free(vaddr, M_DEVBUF); else { - mtx_lock(&Giant); contigfree(vaddr, dmat->maxsize, M_DEVBUF); - mtx_unlock(&Giant); } } |