[PATCH] rt Kconfig.preempt fixes

Previous thread: 2.6.27-rc1 oops when plugging USB disk by Lukas Hejtmanek on Friday, August 1, 2008 - 6:35 am. (3 messages)

Next thread: reiser4 for 2.6.27-rc1 by Ryan Hope on Friday, August 1, 2008 - 6:49 am. (13 messages)
From: John Kacur
Date: Friday, August 1, 2008 - 6:39 am

This is a non-critical patch, that makes configuring an rt kernel a
little nicer.
Comments are welcome of course.

Signed-off-by: John Kacur <jkacur at gmail dot com>

This patch makes the following changes.
1. Hides the visibility of PREEMPT_SOFTIRQS and PREEMPT_HARDIRQS if PREEMPT_RT
(Complete Preemption) is choosen, since these values are then set (selected) to
be "y".

2. Changes the PREEMPT_HARDIRQS to depend on PREEMPT_SOFTIRQS instead of
forcing PREEMPT_SOFTIRQS to y if PREEMPT_HARDIRQS is choosen. (this is somewhat
an abuse of select)

3. Minor spelling fix. (tat to that)
From: Steven Rostedt
Date: Wednesday, August 20, 2008 - 9:10 am

Hi John,

Thanks, but instead of this:

 depends on PREEMPT_RT != y

could you do:

 depends on !PREEMPT_RT


-- Steve

--

From: John Kacur
Date: Wednesday, August 20, 2008 - 10:14 am

Yes, regenerated patch attached.

Thanks
Previous thread: 2.6.27-rc1 oops when plugging USB disk by Lukas Hejtmanek on Friday, August 1, 2008 - 6:35 am. (3 messages)

Next thread: reiser4 for 2.6.27-rc1 by Ryan Hope on Friday, August 1, 2008 - 6:49 am. (13 messages)