23 lines
740 B
Diff
23 lines
740 B
Diff
Subject: jump-label-rt.patch
|
|
From: Thomas Gleixner <tglx@linutronix.de>
|
|
Date: Wed, 13 Jul 2011 11:03:16 +0200
|
|
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.0/patches-4.0.5-rt3.tar.xz
|
|
|
|
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
|
|
---
|
|
include/linux/jump_label.h | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
--- a/include/linux/jump_label.h
|
|
+++ b/include/linux/jump_label.h
|
|
@@ -55,7 +55,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;
|