From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
To: Kaitao Cheng <pilgrimtao@gmail.com>
Cc: tglx@linutronix.de, peterz@infradead.org, namit@vmware.com,
linux-kernel@vger.kernel.org, songmuchun@bytedance.com
Subject: Re: [PATCH RESEND] kernel/smp: Use smp_call_func_t in on_each_cpu()
Date: Fri, 17 Apr 2020 19:05:06 +0200 [thread overview]
Message-ID: <20200417170506.ldz2eee4mm4szqij@linutronix.de> (raw)
In-Reply-To: <20200417162451.91969-1-pilgrimtao@gmail.com>
On 2020-04-18 00:24:51 [+0800], Kaitao Cheng wrote:
> There is already a typedef smp_call_func_t, so we can just use it,
> maybe better.
>
> Fixes: 3a5f65df5a0fc ("Typedef SMP call function pointer")
> Signed-off-by: Kaitao Cheng <pilgrimtao@gmail.com>
I would not go as far as the Fixes: tag but otherwise:
Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
> ---
> kernel/smp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/smp.c b/kernel/smp.c
> index 786092aabdcd..84303197caf9 100644
> --- a/kernel/smp.c
> +++ b/kernel/smp.c
> @@ -620,7 +620,7 @@ void __init smp_init(void)
> * early_boot_irqs_disabled is set. Use local_irq_save/restore() instead
> * of local_irq_disable/enable().
> */
> -void on_each_cpu(void (*func) (void *info), void *info, int wait)
> +void on_each_cpu(smp_call_func_t func, void *info, int wait)
> {
> unsigned long flags;
>
Sebastian
next prev parent reply other threads:[~2020-04-17 17:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-17 16:24 Kaitao Cheng
2020-04-17 17:05 ` Sebastian Andrzej Siewior [this message]
2020-04-19 3:21 ` Tao pilgrim
2020-04-19 15:55 ` [tip: smp/core] smp: " tip-bot2 for Kaitao Cheng
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=20200417170506.ldz2eee4mm4szqij@linutronix.de \
--to=bigeasy@linutronix.de \
--cc=linux-kernel@vger.kernel.org \
--cc=namit@vmware.com \
--cc=peterz@infradead.org \
--cc=pilgrimtao@gmail.com \
--cc=songmuchun@bytedance.com \
--cc=tglx@linutronix.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®