summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2012-08-03 18:40:44 +0000
committerjhb <jhb@FreeBSD.org>2012-08-03 18:40:44 +0000
commit28a38a123e9fcade06554ebf05856bbd6b22ccd5 (patch)
tree6ecb13422e12587a634c09ea43a22a726f82f7a6 /sys
parentba82fcb2d8b36541a52ef6f39347ac5c27804d21 (diff)
downloadFreeBSD-src-28a38a123e9fcade06554ebf05856bbd6b22ccd5.zip
FreeBSD-src-28a38a123e9fcade06554ebf05856bbd6b22ccd5.tar.gz
Correct function name in comment.
Submitted by: alc
Diffstat (limited to 'sys')
-rw-r--r--sys/x86/x86/busdma_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/x86/x86/busdma_machdep.c b/sys/x86/x86/busdma_machdep.c
index 8735b15..00f2e0b 100644
--- a/sys/x86/x86/busdma_machdep.c
+++ b/sys/x86/x86/busdma_machdep.c
@@ -567,7 +567,7 @@ bus_dmamem_free(bus_dma_tag_t dmat, void *vaddr, bus_dmamap_t map)
/*
* dmamem does not need to be bounced, so the map should be
* NULL if malloc() was used and contig_dmamap if
- * contigmalloc() was used.
+ * kmem_alloc_contig() was used.
*/
if (!(map == NULL || map == &contig_dmamap))
panic("bus_dmamem_free: Invalid map freed\n");
OpenPOWER on IntegriCloud