Skip to content

Instantly share code, notes, and snippets.

View malfaux's full-sized avatar

malfaux malfaux

View GitHub Profile
@malfaux
malfaux / softdog_autostart_linux-2.6.38-gentoo-r6.diff
Created July 3, 2011 08:36
softdog autostart patch generated against gentoo kernver 2.6.38
--- ../x/linux-2.6.38/drivers/watchdog/softdog.c 2011-03-15 01:20:32.000000000 +0000
+++ ./drivers/watchdog/softdog.c 2011-06-15 18:44:44.000000000 +0000
@@ -64,6 +64,13 @@
"Watchdog cannot be stopped once started (default="
__MODULE_STRING(WATCHDOG_NOWAYOUT) ")");
+#define WATCHDOG_AUTOSTART 0
+static int autostart = WATCHDOG_AUTOSTART;
+module_param(autostart,int,0);
+MODULE_PARM_DESC(autostart,