svn commit: r346662 - stable/12/sys/x86/iommu
Konstantin Belousov
kib at FreeBSD.org
Thu Apr 25 08:27:02 UTC 2019
Author: kib
Date: Thu Apr 25 08:27:00 2019
New Revision: 346662
URL: https://svnweb.freebsd.org/changeset/base/346662
Log:
MFC r346351:
Remove witness warning. dmar_bus_dmamap_create() does not sleep.
Modified:
stable/12/sys/x86/iommu/busdma_dmar.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/x86/iommu/busdma_dmar.c
==============================================================================
--- stable/12/sys/x86/iommu/busdma_dmar.c Thu Apr 25 08:25:48 2019 (r346661)
+++ stable/12/sys/x86/iommu/busdma_dmar.c Thu Apr 25 08:27:00 2019 (r346662)
@@ -371,8 +371,6 @@ dmar_bus_dmamap_create(bus_dma_tag_t dmat, int flags,
struct bus_dma_tag_dmar *tag;
struct bus_dmamap_dmar *map;
- WITNESS_WARN(WARN_GIANTOK | WARN_SLEEPOK, NULL, "%s", __func__);
-
tag = (struct bus_dma_tag_dmar *)dmat;
map = malloc_domainset(sizeof(*map), M_DMAR_DMAMAP,
DOMAINSET_PREF(tag->common.domain), M_NOWAIT | M_ZERO);
More information about the svn-src-stable-12
mailing list