https://github.com/torvalds/linux
Raw File
Tip revision: 7cef5677ef3a8084f2588ce0a129dc95d65161f6 authored by Linus Torvalds on 06 June 2005, 15:22:29 UTC
Linux 2.6.12-rc6
Tip revision: 7cef567
nmi.h
/*
 *  linux/include/linux/nmi.h
 */
#ifndef LINUX_NMI_H
#define LINUX_NMI_H

#include <asm/irq.h>

/**
 * touch_nmi_watchdog - restart NMI watchdog timeout.
 * 
 * If the architecture supports the NMI watchdog, touch_nmi_watchdog()
 * may be used to reset the timeout - for code which intentionally
 * disables interrupts for a long time. This call is stateless.
 */
#ifdef ARCH_HAS_NMI_WATCHDOG
extern void touch_nmi_watchdog(void);
#else
# define touch_nmi_watchdog() do { } while(0)
#endif

#endif
back to top