Page MenuHomeFreeBSD

D25107.diff
No OneTemporary

D25107.diff

Index: head/sys/x86/x86/busdma_bounce.c
===================================================================
--- head/sys/x86/x86/busdma_bounce.c
+++ head/sys/x86/x86/busdma_bounce.c
@@ -407,8 +407,6 @@
vm_memattr_t attr;
int mflags;
- WITNESS_WARN(WARN_GIANTOK | WARN_SLEEPOK, NULL, "%s", __func__);
-
if (flags & BUS_DMA_NOWAIT)
mflags = M_NOWAIT;
else
@@ -492,7 +490,7 @@
}
/*
- * Free a piece of memory and it's allociated dmamap, that was allocated
+ * Free a piece of memory and its associated dmamap, that was allocated
* via bus_dmamem_alloc. Make the same choice for free/contigfree.
*/
static void
Index: head/sys/x86/x86/busdma_machdep.c
===================================================================
--- head/sys/x86/x86/busdma_machdep.c
+++ head/sys/x86/x86/busdma_machdep.c
@@ -223,8 +223,6 @@
struct bus_dma_tag_common *tc;
int error;
- WITNESS_WARN(WARN_GIANTOK | WARN_SLEEPOK, NULL, "%s", __func__);
-
if (parent == NULL) {
error = bus_dma_bounce_impl.tag_create(parent, alignment,
boundary, lowaddr, highaddr, filter, filterarg, maxsize,

File Metadata

Mime Type
text/plain
Expires
Wed, Apr 30, 6:57 AM (18 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17853170
Default Alt Text
D25107.diff (1 KB)

Event Timeline