Page MenuHomeFreeBSD

D48600.id149729.diff
No OneTemporary

D48600.id149729.diff

diff --git a/sys/powerpc/powerpc/busdma_machdep.c b/sys/powerpc/powerpc/busdma_machdep.c
--- a/sys/powerpc/powerpc/busdma_machdep.c
+++ b/sys/powerpc/powerpc/busdma_machdep.c
@@ -303,6 +303,9 @@
return (ENOMEM);
}
+ /* Initialize the new map */
+ STAILQ_INIT(&((*mapp)->bpages));
+
/*
* Bouncing might be required if the driver asks for an active
* exclusion region, a data alignment that is stricter than 1, and/or
@@ -319,9 +322,6 @@
}
bz = dmat->bounce_zone;
- /* Initialize the new map */
- STAILQ_INIT(&((*mapp)->bpages));
-
/*
* Attempt to add pages to our pool on a per-instance
* basis up to a sane limit.

File Metadata

Mime Type
text/plain
Expires
Mon, Aug 24, 2:33 PM (15 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37186820
Default Alt Text
D48600.id149729.diff (651 B)

Event Timeline