lkml.org 
[lkml]   [2008]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -tip] Switch arm defconfig files from CONFIG_CLASSIC_RCU to CONFIG_TREE_RCU.

* Sam Ravnborg <sam@ravnborg.org> 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

Since a preemptive kernel is not supported by all architectures, there has
to be per arch ways to express this - i.e. i think your solution is the
cleanest.

Ingo


\
 
 \ /
  Last update: 2008-12-26 15:27    [W:0.132 / U:0.584 seconds]
©2003-2014 Jasper Spaans. Advertise on this site