Hi Andy,
I get following compile error on PPC64 - while trying to compile
CONFIG_FLATMEM=y.
arch/powerpc/mm/numa.c: In function `dump_numa_topology':
arch/powerpc/mm/numa.c:516: error: `SECTION_SIZE_BITS' undeclared (first
use in this function)
arch/powerpc/mm/numa.c:516: error: (Each undeclared identifier is
reported only once
arch/powerpc/mm/numa.c:516: error: for each function it appears in.)
make[1]: *** [arch/powerpc/mm/numa.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [arch/powerpc/mm] Error 2
Thanks,
Badari
Badari Pulavarty wrote:
> I get following compile error on PPC64 - while trying to compile
> CONFIG_FLATMEM=y.
>
> arch/powerpc/mm/numa.c: In function `dump_numa_topology':
> arch/powerpc/mm/numa.c:516: error: `SECTION_SIZE_BITS' undeclared (first
> use in this function)
> arch/powerpc/mm/numa.c:516: error: (Each undeclared identifier is
> reported only once
> arch/powerpc/mm/numa.c:516: error: for each function it appears in.)
> make[1]: *** [arch/powerpc/mm/numa.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make: *** [arch/powerpc/mm] Error 2
Can you drop me a copy of your .config please. I'll have a poke at it
in the morning.
-apw
Hi,
> I get following compile error on PPC64 - while trying to compile
> CONFIG_FLATMEM=y.
>
> arch/powerpc/mm/numa.c: In function `dump_numa_topology':
> arch/powerpc/mm/numa.c:516: error: `SECTION_SIZE_BITS' undeclared (first
> use in this function)
> arch/powerpc/mm/numa.c:516: error: (Each undeclared identifier is
> reported only once
> arch/powerpc/mm/numa.c:516: error: for each function it appears in.)
> make[1]: *** [arch/powerpc/mm/numa.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make: *** [arch/powerpc/mm] Error 2
Looks like you are trying to compile NUMA=y, FLATMEM=y which is an
illegal combination. Andy has submitted patches to fix this but in the
meantime can you either make both on or both off?
Anton
Badari Pulavarty writes:
> I get following compile error on PPC64 - while trying to compile
> CONFIG_FLATMEM=y.
You have CONFIG_NUMA=y. According to Anton, NUMA + FLATMEM is an
invalid combination, but unfortunately the Kconfig doesn't enforce
that at the moment. That is, if you want CONFIG_FLATMEM=y, you will
have to explicitly set CONFIG_NUMA=n.
Paul.
Paul Mackerras wrote:
> Badari Pulavarty writes:
>
>
>>I get following compile error on PPC64 - while trying to compile
>>CONFIG_FLATMEM=y.
>
>
> You have CONFIG_NUMA=y. According to Anton, NUMA + FLATMEM is an
> invalid combination, but unfortunately the Kconfig doesn't enforce
> that at the moment. That is, if you want CONFIG_FLATMEM=y, you will
> have to explicitly set CONFIG_NUMA=n.
>
> Paul.
>
Okay. Thanks.
- Badari