Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754114AbdDMObs (ORCPT ); Thu, 13 Apr 2017 10:31:48 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:34154 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750745AbdDMObq (ORCPT ); Thu, 13 Apr 2017 10:31:46 -0400 From: Valentin Rothberg To: rostedt@goodmis.org Cc: mingo@kernel.org, akpm@linux-foundation.org, linux-kernel@vger.kernel.org, Valentin Rothberg Subject: [PATCH] tracing: fix DEBUG_PREEMPT typo Date: Thu, 13 Apr 2017 16:31:25 +0200 Message-Id: <20170413143125.23632-1-valentinrothberg@gmail.com> X-Mailer: git-send-email 2.12.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 986 Lines: 31 s/PREEMPT_DEBUG/DEBUG_PREEMPT/ Signed-off-by: Valentin Rothberg --- 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