watchdog/hardlockup: keep kernel.nmi_watchdog sysctl as 0444 if probe fails
[linux-2.6-microblaze.git] / include / linux / nmi.h
index 83577ae..99b7d74 100644 (file)
@@ -95,12 +95,6 @@ void watchdog_hardlockup_check(unsigned int cpu, struct pt_regs *regs);
 static inline void arch_touch_nmi_watchdog(void) { }
 #endif
 
-#if defined(CONFIG_HAVE_NMI_WATCHDOG) || defined(CONFIG_HARDLOCKUP_DETECTOR)
-# define NMI_WATCHDOG_SYSCTL_PERM      0644
-#else
-# define NMI_WATCHDOG_SYSCTL_PERM      0444
-#endif
-
 #if defined(CONFIG_HARDLOCKUP_DETECTOR_PERF)
 extern void hardlockup_detector_perf_stop(void);
 extern void hardlockup_detector_perf_restart(void);