You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
502 B
23 lines
502 B
20 years ago
|
/*
|
||
|
* 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
|