public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Anton Blanchard <anton@samba•org>
To: Rajarshi Das <rajarshi@in•ibm.com>
Cc: linuxppc-dev@lists•linuxppc.org
Subject: Re: equivalent of touch_nmi_watchdog
Date: Wed, 30 Jun 2004 09:13:18 +1000	[thread overview]
Message-ID: <20040629231318.GI7523@krispykreme> (raw)
In-Reply-To: <1088509774.22425.54.camel@darya>


Hi,

> I am running some code which needs interrupts to be disabled for a
> reasonable amount of time. A "touch_nmi_watchdog" call is done before
> this code gets called on i386 platform. How do I do it on ppc64 ? I am
> using a power 3 machine (type 7044-170) (uniprocessor) and a 2.6.6
> kernel.

Check out arch/ppc64/xmon/xmon.c: disable_surveillance() in a recent 2.6
kernel. It might be worth moving that function into rtas.c if you want
to use it as well.

Anton

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

      parent reply	other threads:[~2004-06-29 23:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-29 11:49 equivalent of touch_nmi_watchdog Rajarshi Das
2004-06-29 13:06 ` Benjamin Herrenschmidt
2004-06-29 14:00   ` Rajarshi Das
2004-06-29 13:46     ` Benjamin Herrenschmidt
2004-06-29 23:13 ` Anton Blanchard [this message]

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=20040629231318.GI7523@krispykreme \
    --to=anton@samba$(echo .)org \
    --cc=linuxppc-dev@lists$(echo .)linuxppc.org \
    --cc=rajarshi@in$(echo .)ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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