busdma: Add deferred time measurement to arm and powerpc

Add the forgotten field to these implementations as well.

Pointy hat to: me (make universe vs make tinderbox)
Fixes: 20f8814cd3
Sponsored by: Netflix
This commit is contained in:
Warner Losh 2023-11-13 12:23:31 -07:00
parent 49025a1109
commit 0e80440647
2 changed files with 2 additions and 0 deletions

View file

@ -149,6 +149,7 @@ struct bus_dmamap {
struct memdesc mem;
bus_dmamap_callback_t *callback;
void *callback_arg;
__sbintime_t queued_time;
int flags;
#define DMAMAP_COHERENT (1 << 0)
#define DMAMAP_DMAMEM_ALLOC (1 << 1)

View file

@ -97,6 +97,7 @@ struct bus_dmamap {
int nsegs;
bus_dmamap_callback_t *callback;
void *callback_arg;
__sbintime_t queued_time;
STAILQ_ENTRY(bus_dmamap) links;
int contigalloc;
};