kconfig-preempt-rt-full.patch

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 Alibek Omarov
parent b8e6c64684
commit 6daec41a3f
3 changed files with 12 additions and 2 deletions

View File

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

View File

@ -67,6 +67,14 @@ config PREEMPT_RTB
enables changes which are preliminary for the full preemptible enables changes which are preliminary for the full preemptible
RT kernel. 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 endchoice
config PREEMPT_COUNT config PREEMPT_COUNT

View File

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