Re: page_to_nid not linked in on PAE

From: Jan Engelhardt
Date: Wed Mar 10 2010 - 05:30:41 EST


On Tuesday 2010-03-09 13:32, Jan Engelhardt wrote:
>
>I have here a compile error with 2.6.33 related to some change in
>page flags. The offending commit, according to bisect, is
>
>commit 46cf98cdaef5471926010b5bddf84c44ec177fdd
>
> x86, pat: Generalize the use of page flag PG_uncached
>
>$ make ARCH=i386 vmlinux
> ...
> LD .tmp_vmlinux1
>arch/x86/built-in.o: In function `dma_generic_alloc_coherent':
>(.text+0x42b2): undefined reference to `page_to_nid'
...

Due to the addition of page flags (like in the commit above),
there are less bits to encode the node.
In other words, reducing CONFIG_NODES_SHIFT works around the problem.
But that can't really be a terminal solution.

>CONFIG_NODES_SHIFT=7
--
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/