Skip to contentSkip to conversation

tracing: fix DEBUG_PREEMPT typo

PATCH New Valentin Rothberg 1 participant 1 message Apr 13, 2017 ftrace

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tracing: fix DEBUG_PREEMPT typo

s/PREEMPT_DEBUG/DEBUG_PREEMPT/

---
 include/linux/ftrace.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/ftrace.h +2 -2
index c4552953a59a..e1bbfbb741a5 100644
@@ -304,7 +304,7 @@ DECLARE_PER_CPU(int, disable_stack_tracer);
 static inline void stack_tracer_disable(void)
 {
 	/* Preemption or interupts must be disabled */
-	if (IS_ENABLED(CONFIG_PREEMPT_DEBUG))
+	if (IS_ENABLED(CONFIG_DEBUG_PREEMPT))
 		WARN_ON_ONCE(!preempt_count() || !irqs_disabled());
 	this_cpu_inc(disable_stack_tracer);
 }
@@ -317,7 +317,7 @@ static inline void stack_tracer_disable(void)
  */
 static inline void stack_tracer_enable(void)
 {
-	if (IS_ENABLED(CONFIG_PREEMPT_DEBUG))
+	if (IS_ENABLED(CONFIG_DEBUG_PREEMPT))
 		WARN_ON_ONCE(!preempt_count() || !irqs_disabled());
 	this_cpu_dec(disable_stack_tracer);
 }
Signature · 1 line
2.12.2