Skip to content

Commit 7b5cf70

Browse files
committed
Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull preemption Kconfig fix from Thomas Gleixner: "The PREEMPT_RT stub config renamed PREEMPT to PREEMPT_LL and defined PREEMPT outside of the menu and made it selectable by both PREEMPT_LL and PREEMPT_RT. Stupid me missed that 114 defconfigs select CONFIG_PREEMPT which obviously can't work anymore. oldconfig builds are affected as well, but it's more obvious as the user gets asked. [old]defconfig silently fixes it up and selects PREEMPT_NONE. Unbreak it by undoing the rename and adding a intermediate config symbol which is selected by both PREEMPT and PREEMPT_RT. That requires to chase down a few #ifdefs, but it's better than tweaking 114 defconfigs and annoying users" * 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: sched/rt, Kconfig: Unbreak def/oldconfig with CONFIG_PREEMPT=y
2 parents 44b912c + b8d3349 commit 7b5cf70

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

kernel/Kconfig.preempt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ config PREEMPT_VOLUNTARY
3535

3636
Select this if you are building a kernel for a desktop system.
3737

38-
config PREEMPT_LL
38+
config PREEMPT
3939
bool "Preemptible Kernel (Low-Latency Desktop)"
4040
depends on !ARCH_NO_PREEMPT
41-
select PREEMPT
41+
select PREEMPTION
4242
select UNINLINE_SPIN_UNLOCK if !ARCH_INLINE_SPIN_UNLOCK
4343
help
4444
This option reduces the latency of the kernel by making
@@ -58,7 +58,7 @@ config PREEMPT_LL
5858
config PREEMPT_RT
5959
bool "Fully Preemptible Kernel (Real-Time)"
6060
depends on EXPERT && ARCH_SUPPORTS_RT
61-
select PREEMPT
61+
select PREEMPTION
6262
help
6363
This option turns the kernel into a real-time kernel by replacing
6464
various locking primitives (spinlocks, rwlocks, etc.) with
@@ -77,6 +77,6 @@ endchoice
7777
config PREEMPT_COUNT
7878
bool
7979

80-
config PREEMPT
80+
config PREEMPTION
8181
bool
8282
select PREEMPT_COUNT

0 commit comments

Comments
 (0)