From: Val Henson <val@nmt.edu>
To: linuxppc-dev@lists.linuxppc.org
Subject: [PATCH] fix heartbeat
Date: Fri, 8 Feb 2002 18:46:10 -0700 [thread overview]
Message-ID: <20020208184610.E28166@boardwalk> (raw)
The heartbeat function will not execute properly on Gemini without
this patch. (Check for cpu 0 removed from gemini_heartbeat.)
-VAL
diff -Nru a/arch/ppc/kernel/time.c b/arch/ppc/kernel/time.c
--- a/arch/ppc/kernel/time.c Fri Feb 8 15:12:57 2002
+++ b/arch/ppc/kernel/time.c Fri Feb 8 15:12:57 2002
@@ -208,7 +208,8 @@
smp_local_timer_interrupt(regs);
#endif /* CONFIG_SMP */
- if (ppc_md.heartbeat && !ppc_md.heartbeat_count--)
+ if (ppc_md.heartbeat && !smp_processor_id() &&
+ !ppc_md.heartbeat_count--)
ppc_md.heartbeat();
hardirq_exit(cpu);
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next reply other threads:[~2002-02-09 1:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-09 1:46 Val Henson [this message]
2002-02-09 6:50 ` [PATCH] fix heartbeat Paul Mackerras
2002-02-10 0:23 ` Val Henson
2002-02-10 21:43 ` Val Henson
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=20020208184610.E28166@boardwalk \
--to=val@nmt.edu \
--cc=linuxppc-dev@lists.linuxppc.org \
/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;
as well as URLs for NNTP newsgroup(s).