equivalent of touch_nmi_watchdog

Anton Blanchard anton at samba.org
Wed Jun 30 09:13:18 EST 2004


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/




More information about the Linuxppc-dev mailing list