mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Zejiang Tang <tangzejiang@loongson.cn>
Cc: Ingo Molnar <mingo@redhat.com>,
	Thomas Bogendoerfer <tsbogend@alpha.franken.de>,
	linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] MIPS: ftrace: Remove redundant #ifdef CONFIG_DYNAMIC_FTRAC
Date: Thu, 13 Aug 2020 22:17:25 -0400	[thread overview]
Message-ID: <20200813221725.102a3b3e@oasis.local.home> (raw)
In-Reply-To: <1597370895-5412-1-git-send-email-tangzejiang@loongson.cn>

On Fri, 14 Aug 2020 10:08:15 +0800
Zejiang Tang <tangzejiang@loongson.cn> wrote:

> There exists redundant #ifdef CONFIG_DYNAMIC_FTRAC in ftrace.c, remove it.
> 
> Signed-off-by: Zejiang Tang <tangzejiang@loongson.cn>

Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>

-- Steve

> ---
>  arch/mips/kernel/ftrace.c | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/arch/mips/kernel/ftrace.c b/arch/mips/kernel/ftrace.c
> index 2625232..f57e68f 100644
> --- a/arch/mips/kernel/ftrace.c
> +++ b/arch/mips/kernel/ftrace.c
> @@ -37,10 +37,6 @@ void arch_ftrace_update_code(int command)
>  	ftrace_modify_all_code(command);
>  }
>  
> -#endif
> -
> -#ifdef CONFIG_DYNAMIC_FTRACE
> -
>  #define JAL 0x0c000000		/* jump & link: ip --> ra, jump to target */
>  #define ADDR_MASK 0x03ffffff	/*  op_code|addr : 31...26|25 ....0 */
>  #define JUMP_RANGE_MASK ((1UL << 28) - 1)


  reply	other threads:[~2020-08-14  2:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-14  2:08 Zejiang Tang
2020-08-14  2:17 ` Steven Rostedt [this message]
2020-08-14  2:22 ` Florian Fainelli
2020-08-14  2:27   ` Zejiang Tang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200813221725.102a3b3e@oasis.local.home \
    --to=rostedt@goodmis.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tangzejiang@loongson.cn \
    --cc=tsbogend@alpha.franken.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®