Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1623084 > unrolled thread

[PATCH] tracing: fix DEBUG_PREEMPT typo

Started byValentin Rothberg <valentinrothberg@gmail.com>
First post2017-04-13 16:40 +0200
Last post2017-04-13 16:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] tracing: fix DEBUG_PREEMPT typo Valentin Rothberg <valentinrothberg@gmail.com> - 2017-04-13 16:40 +0200

#1623084 — [PATCH] tracing: fix DEBUG_PREEMPT typo

FromValentin Rothberg <valentinrothberg@gmail.com>
Date2017-04-13 16:40 +0200
Subject[PATCH] tracing: fix DEBUG_PREEMPT typo
Message-ID<tvO4F-4ff-17@gated-at.bofh.it>
s/PREEMPT_DEBUG/DEBUG_PREEMPT/

Signed-off-by: Valentin Rothberg <valentinrothberg@gmail.com>
---
 include/linux/ftrace.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h
index c4552953a59a..e1bbfbb741a5 100644
--- a/include/linux/ftrace.h
+++ b/include/linux/ftrace.h
@@ -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);
 }
-- 
2.12.2

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web