Re: [PATCH] drm: msm: fix building without CONFIG_COMMON_CLK

From: Arnd Bergmann
Date: Mon Oct 18 2021 - 07:46:55 EST


On Mon, Oct 18, 2021 at 1:40 PM Christian König
<christian.koenig@xxxxxxx> wrote:
> >> I have absolutely no idea how a platform can have IOMMU but no MMU
> >> support but it indeed seems to be the case here.
> > Huh?
> >
> > Parisc has config MMU def_bool y?
>
> Then why vmap isn't available?
>
> See the mail thread: [linux-next:master 3576/7806]
> drivers/gpu/drm/msm/msm_gem.c:624:20: error: implicit declaration of
> function 'vmap'

This is just a missing "#include <linux/vmalloc.h>". It must be
included indirectly
on some architectures but not other.

Arnd