Reviewed-by: Jason Ekstrand <jason@xxxxxxxxxxxxxx> On Fri, Jun 4, 2021 at 10:59 AM Alex Deucher <alexdeucher@xxxxxxxxx> wrote: > > On Fri, Jun 4, 2021 at 11:52 AM Christian König > <ckoenig.leichtzumerken@xxxxxxxxx> wrote: > > > > The newly added dma_resv_reset_shared_max() is used from an inline > > function, so it can appear in drivers as well. > > > > Signed-off-by: Christian König <christian.koenig@xxxxxxx> > > Acked-by: Alex Deucher <alexander.deucher@xxxxxxx> > > > --- > > drivers/dma-buf/dma-resv.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/dma-buf/dma-resv.c b/drivers/dma-buf/dma-resv.c > > index 3964df438505..6132ba631991 100644 > > --- a/drivers/dma-buf/dma-resv.c > > +++ b/drivers/dma-buf/dma-resv.c > > @@ -226,6 +226,7 @@ void dma_resv_reset_shared_max(struct dma_resv *obj) > > fence->shared_max = fence->shared_count; > > } > > } > > +EXPORT_SYMBOL(dma_resv_reset_shared_max); > > #endif > > > > /** > > -- > > 2.25.1 > >