23 lines
727 B
Diff
23 lines
727 B
Diff
Subject: jump-label-rt.patch
|
|
From: Thomas Gleixner <tglx@linutronix.de>
|
|
Date: Wed, 13 Jul 2011 11:03:16 +0200
|
|
|
|
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
|
|
---
|
|
include/linux/jump_label.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: linux-3.2/include/linux/jump_label.h
|
|
===================================================================
|
|
--- linux-3.2.orig/include/linux/jump_label.h
|
|
+++ linux-3.2/include/linux/jump_label.h
|
|
@@ -4,7 +4,7 @@
|
|
#include <linux/types.h>
|
|
#include <linux/compiler.h>
|
|
|
|
-#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 jump_label_key {
|
|
atomic_t enabled;
|