Re: [PATCH] m68k: fix build failure

From: Geert Uytterhoeven
Date: Sun Jan 10 2016 - 04:35:59 EST


On Mon, Jan 4, 2016 at 11:57 AM, Sudip Mukherjee
<sudipm.mukherjee@xxxxxxxxx> wrote:
> The defconfig build of m68k was failing with the error:
> implicit declaration of function '__pfn_to_phys'
>
> Other architectures have added <asm/memory.h>, but if we do so here then
> we will also get redeclaration of some other functions. So it is better
> to copy these macros into page_mm.h.
>
> Fixes: 0a3c3bf11240 ("x86, mm: introduce vmem_altmap to augment vmemmap_populate()")
> Cc: Dan Williams <dan.j.williams@xxxxxxxxx>
> Signed-off-by: Sudip Mukherjee <sudip@xxxxxxxxxxxxxxx>

Acked-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds