mm/ksm.c:492: error: implicit declaration of function âpfn_to_nidâ

From: Geert Uytterhoeven
Date: Mon Mar 04 2013 - 15:09:53 EST


On one of my m68k configs, v3.9-rc1 gives me:

mm/ksm.c: In function âget_kpfn_nidâ:
mm/ksm.c:492: error: implicit declaration of function âpfn_to_nidâ

It turns out <linux/mmzone.h> lacks a definition for pfn_to_nid() if
CONFIG_DISCONTIGMEM=y.

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/