mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-27 16:39:08 +00:00
Remove witness warning. dmar_bus_dmamap_create() does not sleep.
Sponsored by: Mellanox Technologies MFC after: 1 week
This commit is contained in:
parent
1ad4a0314f
commit
c07640c430
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346351
@ -371,8 +371,6 @@ dmar_bus_dmamap_create(bus_dma_tag_t dmat, int flags, bus_dmamap_t *mapp)
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user