Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167658143
D48600.id149729.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
651 B
Referenced Files
None
Subscribers
None
D48600.id149729.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D48600: busdma: Always initialize bounce page STAILQ
Attached
Detach File
Event Timeline
Log In to Comment