Commit 8d820760 authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds

uml: fix nonremovability of watchdog

The UML watchdog driver was using the wrong config variable to control whether
it can be unloaded once active.
Signed-off-by: default avatarJeff Dike <jdike@linux.intel.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 818f6ef4
...@@ -69,7 +69,7 @@ static int harddog_open(struct inode *inode, struct file *file) ...@@ -69,7 +69,7 @@ static int harddog_open(struct inode *inode, struct file *file)
spin_lock(&lock); spin_lock(&lock);
if(timer_alive) if(timer_alive)
goto err; goto err;
#ifdef CONFIG_HARDDOG_NOWAYOUT #ifdef CONFIG_WATCHDOG_NOWAYOUT
__module_get(THIS_MODULE); __module_get(THIS_MODULE);
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment