[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140925011409.F1A20140143@ozlabs.org>
Date: Thu, 25 Sep 2014 11:14:09 +1000 (EST)
From: Michael Ellerman <mpe@...erman.id.au>
To: Pranith Kumar <bobby.prani@...il.com>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Cc: Andew Morton <akpm@...ux-foundation.org>
Subject: Re: powerpc: Fix build failure when MEMORY_HOTPLUG=y
On Tue, 2014-19-08 at 21:01:05 UTC, Pranith Kumar wrote:
> ARCH_ENABLE_MEMORY_HOTPLUG is enabled by default for powerpc. This causes build
> failures when SPARSEMEM=n as memory hotplug needs definition which are defined
> only when SPARSEMEM=y. The error is as follows:
> arch/powerpc/platforms/pseries/hotplug-memory.c:27:31: error: 'SECTION_SIZE_BITS' undeclared (first use in this function)
> arch/powerpc/platforms/pseries/hotplug-memory.c:27:31: note: each undeclared identifier is reported only once for each function it appears in
I don't see how you can even build pseries without SPARSEMEM=y ?
The three options are:
default DISCONTIGMEM_MANUAL if ARCH_DISCONTIGMEM_DEFAULT
default SPARSEMEM_MANUAL if ARCH_SPARSEMEM_DEFAULT
default FLATMEM_MANUAL
We don't have DISCONTIGMEM.
FLATMEM_MANUAL depends on !ARCH_SPARSEMEM_ENABLE.
We turn on ARCH_SPARSEMEM_ENABLE, and it's not user editable.
cheers
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists