Message ID | 20210604155228.616679-1-christian.koenig@amd.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | dma-buf: add missing EXPORT_SYMBOL | expand |
On Fri, Jun 4, 2021 at 11:52 AM Christian König <ckoenig.leichtzumerken@gmail.com> 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@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> > --- > 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 >
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> On Fri, Jun 4, 2021 at 10:59 AM Alex Deucher <alexdeucher@gmail.com> wrote: > > On Fri, Jun 4, 2021 at 11:52 AM Christian König > <ckoenig.leichtzumerken@gmail.com> 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@amd.com> > > Acked-by: Alex Deucher <alexander.deucher@amd.com> > > > --- > > 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 > >
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 /**
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@amd.com> --- drivers/dma-buf/dma-resv.c | 1 + 1 file changed, 1 insertion(+)