Re: [PATCH -tip] Switch arm defconfig files fromCONFIG_CLASSIC_RCU to CONFIG_TREE_RCU.

From: Paul E. McKenney
Date: Thu Dec 25 2008 - 20:09:36 EST


On Thu, Dec 25, 2008 at 10:33:01AM +0100, Sam Ravnborg wrote:
> On Thu, Dec 25, 2008 at 09:36:11AM +0100, Ingo Molnar wrote:
> >
> > below is the fix for another small buglet that hits architectures that do
> > not include kernel/Kconfig.preempt.
>
> What is needed to let all architectures include Kconfig.preempt?
> We should not advertise preemption if not supported,
> but we could do this by a simple Kconfig symbol:
>
> config HAVE_PREEMPT
> bool
>
> And let all architectures that supports preemption do:
>
> config "ARCH"
> select HAVE_PREEMPT
>
> But maybe there is a simpler solution

The idea being to make things like PREEMPT then depend on HAVE_PREEMPT?

Seems reasonable to me, but I cannot claim to understand the
relationship of Kconfig and the various arches very well.

Thanx, Paul
--
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/