Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
nmi.c File Reference
#include <linux/bitops.h>
#include <linux/hardirq.h>
#include <linux/syscore_ops.h>
#include <linux/pm.h>
#include <linux/nmi.h>
#include <linux/smp.h>
#include <linux/timer.h>
#include <asm/blackfin.h>
#include <linux/atomic.h>
#include <asm/cacheflush.h>
#include <asm/bfin_watchdog.h>

Go to the source code of this file.

Macros

#define DRV_NAME   "nmi-wdt"
 
#define NMI_WDT_TIMEOUT   5 /* 5 seconds */
 
#define NMI_CHECK_TIMEOUT   (4 * HZ) /* 4 seconds in jiffies */
 

Enumerations

enum  { COREA_ENTER_NMI = 0, COREA_EXIT_NMI, COREB_EXIT_NMI, NMI_EVENT_NR }
 

Functions

int check_nmi_wdt_touched (void)
 
 device_initcall (init_nmi_wdt)
 
void touch_nmi_watchdog (void)
 
asmlinkage notrace void do_nmi (struct pt_regs *fp)
 

Macro Definition Documentation

#define DRV_NAME   "nmi-wdt"

Definition at line 25 of file nmi.c.

#define NMI_CHECK_TIMEOUT   (4 * HZ) /* 4 seconds in jiffies */

Definition at line 28 of file nmi.c.

#define NMI_WDT_TIMEOUT   5 /* 5 seconds */

Definition at line 27 of file nmi.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
COREA_ENTER_NMI 
COREA_EXIT_NMI 
COREB_EXIT_NMI 
NMI_EVENT_NR 

Definition at line 40 of file nmi.c.

Function Documentation

int check_nmi_wdt_touched ( void  )

Definition at line 144 of file nmi.c.

device_initcall ( init_nmi_wdt  )
asmlinkage notrace void do_nmi ( struct pt_regs fp)

Definition at line 228 of file nmi.c.

void touch_nmi_watchdog ( void  )

Definition at line 192 of file nmi.c.