jump-label-rt.patch

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Thomas Gleixner 2011-07-13 11:03:16 +02:00 committed by Alibek Omarov
parent 898b8b796f
commit 0eb8f356f4
1 changed files with 2 additions and 1 deletions

View File

@ -56,7 +56,8 @@ extern bool static_key_initialized;
"%s used before call to jump_label_init", \
__func__)
#if defined(CC_HAVE_ASM_GOTO) && defined(CONFIG_JUMP_LABEL)
#if defined(CC_HAVE_ASM_GOTO) && defined(CONFIG_JUMP_LABEL) && \
!defined(CONFIG_PREEMPT_BASE)
struct static_key {
atomic_t enabled;