Re: page_alloc.c:(.init.text+0xa7c): undefined reference to `vmalloc_huge'

From: Naresh Kamboju
Date: Mon Apr 25 2022 - 04:44:53 EST


Hi Linus,

On Mon, 25 Apr 2022 at 13:58, Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> On Mon, Apr 25, 2022 at 1:10 AM Naresh Kamboju
> <naresh.kamboju@xxxxxxxxxx> wrote:
> >
> > # CONFIG_MMU is not set
>
> I just sent the stupid and straightforward patch in
>
> https://lore.kernel.org/all/CAHk-=wi5DYKbFE4j-jC2HGsKVuf1RpZbEiYt4tSXuxGKiN9oJg@xxxxxxxxxxxxxx/
>
> but then I thought maybe the alias patch is as simple as the attached.
>
> So does either (or both) of these patches work?

Yes.
I have tested these two patches and both the way the build passes.

Tested-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>

- Naresh
>
> Linus