Re: linux-next: build failure after merge of the amdgpu tree

From: Simon Ser
Date: Fri Oct 08 2021 - 14:09:38 EST


On Friday, October 8th, 2021 at 16:11, Alex Deucher <alexdeucher@xxxxxxxxx> wrote:

> On Fri, Oct 8, 2021 at 5:22 AM Simon Ser contact@xxxxxxxxxxx wrote:
>
> > On Friday, October 8th, 2021 at 10:29, Stephen Rothwell sfr@xxxxxxxxxxxxxxxx wrote:
> >
> > > That symbol (get_mm_exe_file) is not exported to modules.
> >
> > I see this:
> >
> > EXPORT_SYMBOL(get_mm_exe_file);
> >
> >
> > in kernel/fork.c
>
> Was recently removed:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/kernel/fork.c?id=05da8113c9ba63a8913e6c73dc06ed01cae55f68
>
> I guess we need to rethink that patch.

CC Christoph

Would it be reasonable to re-export get_mm_exe_file? amdgpu uses it here:

https://gitlab.freedesktop.org/agd5f/linux/-/commit/0d4da915c7098eca2aa6f559f42e33b5e9c7c5e8