All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brian Murphy <brm@murphy.dk>
To: linux-mips@linux-mips.org
Cc: flo@rfc822.org, ralf@linux-mips.org
Subject: [PATCH 2.4] load average fix for lasat boards (timer interrupt handling fix)
Date: Sun, 17 Nov 2002 22:41:13 +0100	[thread overview]
Message-ID: <E18DXAH-0002KJ-00@brian.localnet> (raw)

Hi Florian, Ralf,
	it seems the method of calling the new time code changed
or it was wrong all along, This patch fixes the problem of the
ksoftirqd running all the time on Lasat systems, can you apply
Ralf?

/Brian
	
Index: arch/mips/lasat/setup.c
===================================================================
RCS file: /cvs/linux/arch/mips/lasat/setup.c,v
retrieving revision 1.1.2.5
diff -u -r1.1.2.5 setup.c
--- arch/mips/lasat/setup.c	6 Oct 2002 11:38:14 -0000	1.1.2.5
+++ arch/mips/lasat/setup.c	17 Nov 2002 21:31:42 -0000
@@ -109,14 +109,10 @@
 	change_cp0_status(ST0_IM, IE_IRQ0 | IE_IRQ5);
 }
 
+#define MIPS_CPU_TIMER_IRQ 7
 asmlinkage void lasat_timer_interrupt(struct pt_regs *regs)
 {
-	int cpu = smp_processor_id();
-
-	timer_interrupt(7, NULL, regs);
-
-	if (softirq_pending(cpu))
-		do_softirq();
+	ll_timer_interrupt(MIPS_CPU_TIMER_IRQ, regs);
 }
 
 void __init lasat_setup(void)

             reply	other threads:[~2002-11-17 21:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-17 21:41 Brian Murphy [this message]
2002-11-18 19:27 ` [PATCH 2.4] load average fix for lasat boards (timer interrupt handling fix) Florian Lohoff

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=E18DXAH-0002KJ-00@brian.localnet \
    --to=brm@murphy.dk \
    --cc=flo@rfc822.org \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.