From: Prarit Bhargava <prarit@redhat.com>
To: linux-kernel@vger.kernel.org, wim@iguana.be, dzickus@redhat.com,
clalance@redhat.com
Cc: Prarit Bhargava <prarit@redhat.com>
Subject: PATCH: Remove endflag in NMI smp_call_function call
Date: Mon, 3 Dec 2007 12:06:11 -0500 [thread overview]
Message-ID: <20071203170611.4651.89732.sendpatchset@prarit.boston.redhat.com> (raw)
(Wim, I'm not sure if you're the right person to get this or not. Nothing else
came close in the MAINTAINERS file ....)
'endflag' is globally defined -- Passing endflag into smp_call_function is no
longer necessary.
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
diff --git a/arch/x86/kernel/nmi_32.c b/arch/x86/kernel/nmi_32.c
index f5cc47c..50ba4e6 100644
--- a/arch/x86/kernel/nmi_32.c
+++ b/arch/x86/kernel/nmi_32.c
@@ -89,7 +89,7 @@ static int __init check_nmi_watchdog(void)
printk(KERN_INFO "Testing NMI watchdog ... ");
if (nmi_watchdog == NMI_LOCAL_APIC)
- smp_call_function(nmi_cpu_busy, (void *)&endflag, 0, 0);
+ smp_call_function(nmi_cpu_busy, NULL, 0, 0);
for_each_possible_cpu(cpu)
prev_nmi_count[cpu] = per_cpu(irq_stat, cpu).__nmi_count;
diff --git a/arch/x86/kernel/nmi_64.c b/arch/x86/kernel/nmi_64.c
index a576fd7..0443068 100644
--- a/arch/x86/kernel/nmi_64.c
+++ b/arch/x86/kernel/nmi_64.c
@@ -97,7 +97,7 @@ int __init check_nmi_watchdog (void)
#ifdef CONFIG_SMP
if (nmi_watchdog == NMI_LOCAL_APIC)
- smp_call_function(nmi_cpu_busy, (void *)&endflag, 0, 0);
+ smp_call_function(nmi_cpu_busy, NULL, 0, 0);
#endif
for (cpu = 0; cpu < NR_CPUS; cpu++)
reply other threads:[~2007-12-03 17:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20071203170611.4651.89732.sendpatchset@prarit.boston.redhat.com \
--to=prarit@redhat.com \
--cc=clalance@redhat.com \
--cc=dzickus@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=wim@iguana.be \
/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®