Correct a syntax error in the previous revision.

This commit is contained in:
Alan Cox 2006-06-01 19:23:45 +00:00
parent 088c5ab556
commit 98c8f52baf

View File

@ -475,7 +475,7 @@ bus_dmamem_free(bus_dma_tag_t dmat, void *vaddr, bus_dmamap_t map)
panic("bus_dmamem_free: Invalid map freed\n");
if ((dmat->maxsize <= PAGE_SIZE) &&
(dmat->alignment < dmat->maxsize) &&
dmat->lowaddr >= ptoa(Maxmem)) {
dmat->lowaddr >= ptoa(Maxmem))
free(vaddr, M_DEVBUF);
else {
contigfree(vaddr, dmat->maxsize, M_DEVBUF);