linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andi Kleen <ak@muc.de>
To: torvalds@osdl.org, akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: [PATCH] Export touch_nmi_watchdog
Date: Tue, 5 Aug 2003 21:29:08 +0200	[thread overview]
Message-ID: <20030805192908.GA19867@averell> (raw)


Sometimes drivers do long things with interrupt off and the NMI watchdog
triggers quickly. This mostly happens in error handling. It would be 
better to fix the drivers to sleep in this case, but it's not always
possible or too much work.

This patch exports touch_nmi_watchdog so that they can at least be 
fixed to not trigger the watchdog.

Matches a similar patch for x86-64.

-Andi

diff -burpN -X ../KDIFX linux/arch/i386/kernel/nmi.c linux-2.6.0test2-amd64/arch/i386/kernel/nmi.c
--- linux/arch/i386/kernel/nmi.c	2003-07-18 02:40:03.000000000 +0200
+++ linux-2.6.0test2-work/arch/i386/kernel/nmi.c	2003-08-03 12:13:48.000000000 +0200
@@ -455,3 +455,4 @@ EXPORT_SYMBOL(disable_lapic_nmi_watchdog
 EXPORT_SYMBOL(enable_lapic_nmi_watchdog);
 EXPORT_SYMBOL(disable_timer_nmi_watchdog);
 EXPORT_SYMBOL(enable_timer_nmi_watchdog);
+EXPORT_SYMBOL(touch_nmi_watchdog);

             reply	other threads:[~2003-08-05 19:29 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-05 19:29 Andi Kleen [this message]
2003-08-05 19:38 ` [PATCH] Export touch_nmi_watchdog Andrew Morton
2003-08-05 20:08   ` Andi Kleen
2003-08-05 20:20     ` Arjan van de Ven
2003-08-05 20:25       ` Linus Torvalds
2003-08-05 20:31         ` Arjan van de Ven
2003-08-05 21:07           ` Linus Torvalds
2003-08-05 21:05             ` Tim Hockin
2003-08-05 21:14             ` Andi Kleen
2003-08-05 21:15               ` Arjan van de Ven
2003-08-05 21:19                 ` Andi Kleen
2003-08-05 22:14               ` Linus Torvalds
2003-08-06  0:07                 ` Andi Kleen
2003-08-06 11:06                   ` Ingo Oeser
2003-08-06 15:31                     ` Linus Torvalds
2003-08-05 20:45         ` Andi Kleen
2003-08-05 21:11       ` Andi Kleen

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=20030805192908.GA19867@averell \
    --to=ak@muc.de \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.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).