kconfig: Add PREEMPT_RT_FULL

Introduce the final symbol for PREEMPT_RT_FULL.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Thomas Gleixner
2011-06-29 14:58:57 +02:00
committed by jianlong.wang
parent f9273e16d4
commit bbbebf6726
3 changed files with 15 additions and 3 deletions

View File

@@ -32,4 +32,6 @@ include/generated/compile.h: FORCE
@$($(quiet)chk_compile.h)
$(Q)$(CONFIG_SHELL) $(srctree)/scripts/mkcompile_h $@ \
"$(UTS_MACHINE)" "$(CONFIG_SMP)" "$(CONFIG_PREEMPT)" \
"$(CC) $(KBUILD_CFLAGS)" "$(LD)"
"$(UTS_MACHINE)" "$(CONFIG_SMP)" "$(CONFIG_PREEMPT)" \
"$(CONFIG_PREEMPT_RT_FULL)" "$(CC) $(KBUILD_CFLAGS)" \
"$(LD)"

View File

@@ -69,6 +69,14 @@ config PREEMPT_RTB
enables changes which are preliminary for the full preemptible
RT kernel.
config PREEMPT_RT_FULL
bool "Fully Preemptible Kernel (RT)"
depends on IRQ_FORCED_THREADING
select PREEMPT_RT_BASE
select PREEMPT_RCU
help
All and everything
endchoice
config PREEMPT_COUNT

View File

@@ -5,8 +5,9 @@ TARGET=$1
ARCH=$2
SMP=$3
PREEMPT=$4
CC=$5
LD=$6
RT=$5
CC=$6
LD=$7
vecho() { [ "${quiet}" = "silent_" ] || echo "$@" ; }
@@ -54,6 +55,7 @@ UTS_VERSION="#$VERSION"
CONFIG_FLAGS=""
if [ -n "$SMP" ] ; then CONFIG_FLAGS="SMP"; fi
if [ -n "$PREEMPT" ] ; then CONFIG_FLAGS="$CONFIG_FLAGS PREEMPT"; fi
if [ -n "$RT" ] ; then CONFIG_FLAGS="$CONFIG_FLAGS RT"; fi
UTS_VERSION="$UTS_VERSION $CONFIG_FLAGS $TIMESTAMP"
# Truncate to maximum length