summaryrefslogtreecommitdiffstats
path: root/sys/x86/iommu
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2014-03-18 15:59:06 +0000
committerkib <kib@FreeBSD.org>2014-03-18 15:59:06 +0000
commitf53199b05bf79bc071d8a2b526e61970ab39392a (patch)
treebb7f6d8618401f569ab50f704c6945f54c0f24e8 /sys/x86/iommu
parent61531384cf0e6af36243d555576410290457b3cb (diff)
downloadFreeBSD-src-f53199b05bf79bc071d8a2b526e61970ab39392a.zip
FreeBSD-src-f53199b05bf79bc071d8a2b526e61970ab39392a.tar.gz
Trim at EOL.
MFC after: 3 days
Diffstat (limited to 'sys/x86/iommu')
-rw-r--r--sys/x86/iommu/busdma_dmar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/x86/iommu/busdma_dmar.c b/sys/x86/iommu/busdma_dmar.c
index cada29d..9c57519 100644
--- a/sys/x86/iommu/busdma_dmar.c
+++ b/sys/x86/iommu/busdma_dmar.c
@@ -237,7 +237,7 @@ dmar_bus_dmamap_create(bus_dma_tag_t dmat, int flags, bus_dmamap_t *mapp)
map->cansleep = false;
tag->map_count++;
*mapp = (bus_dmamap_t)map;
-
+
return (0);
}
@@ -280,7 +280,7 @@ dmar_bus_dmamem_alloc(bus_dma_tag_t dmat, void** vaddr, int flags,
mflags |= (flags & BUS_DMA_ZERO) != 0 ? M_ZERO : 0;
attr = (flags & BUS_DMA_NOCACHE) != 0 ? VM_MEMATTR_UNCACHEABLE :
VM_MEMATTR_DEFAULT;
-
+
tag = (struct bus_dma_tag_dmar *)dmat;
map = (struct bus_dmamap_dmar *)*mapp;
OpenPOWER on IntegriCloud