* [PATCH 3/6] UML - Fix nonremovability of watchdog
@ 2007-08-02 21:04 Jeff Dike
0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2007-08-02 21:04 UTC (permalink / raw)
To: Andrew Morton; +Cc: LKML, uml-devel, Robert P. J. Day
The UML watchdog driver was using the wrong config variable to control
whether it can be unloaded once active.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
--
arch/um/drivers/harddog_kern.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6.21-mm/arch/um/drivers/harddog_kern.c
===================================================================
--- linux-2.6.21-mm.orig/arch/um/drivers/harddog_kern.c 2007-08-02 16:43:17.000000000 -0400
+++ linux-2.6.21-mm/arch/um/drivers/harddog_kern.c 2007-08-02 16:43:24.000000000 -0400
@@ -69,7 +69,7 @@ static int harddog_open(struct inode *in
spin_lock(&lock);
if(timer_alive)
goto err;
-#ifdef CONFIG_HARDDOG_NOWAYOUT
+#ifdef CONFIG_WATCHDOG_NOWAYOUT
__module_get(THIS_MODULE);
#endif
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-08-02 21:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-02 21:04 [PATCH 3/6] UML - Fix nonremovability of watchdog Jeff Dike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox