mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 00:43:12 +00:00
For architectures that define HAVE_NMI_WATCHDOG, instead of having them provide the complete touch_nmi_watchdog() function, just have them provide arch_touch_nmi_watchdog(). This gives the generic code more flexibility in implementing this function, and arch implementations don't miss out on touching the softlockup watchdog or other generic details. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Nicholas Piggin <[email protected]> Reviewed-by: Don Zickus <[email protected]> Reviewed-by: Babu Moger <[email protected]> Tested-by: Babu Moger <[email protected]> [sparc] Cc: Benjamin Herrenschmidt <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Michael Ellerman <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
15 lines
315 B
C
15 lines
315 B
C
#ifndef __NMI_H
|
|
#define __NMI_H
|
|
|
|
int __init nmi_init(void);
|
|
void perfctr_irq(int irq, struct pt_regs *regs);
|
|
void nmi_adjust_hz(unsigned int new_hz);
|
|
|
|
extern atomic_t nmi_active;
|
|
|
|
void arch_touch_nmi_watchdog(void);
|
|
void start_nmi_watchdog(void *unused);
|
|
void stop_nmi_watchdog(void *unused);
|
|
|
|
#endif /* __NMI_H */
|