Created
May 9, 2014 08:28
-
-
Save htto/631659c313f11183129e to your computer and use it in GitHub Desktop.
Properly guard watchdog access in apanic_mmc.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/drivers/misc/apanic_mmc.c b/drivers/misc/apanic_mmc.c | |
index 2286250..f5dfb42 100644 | |
--- a/drivers/misc/apanic_mmc.c | |
+++ b/drivers/misc/apanic_mmc.c | |
@@ -601,7 +601,9 @@ static void apanic_mmc_memdump(void) | |
!memdump_ctx.mmc_memdump_ops->panic_probe) | |
return; | |
+#ifdef CONFIG_OMAP_WATCHDOG_CONTROL | |
memdump_wdt_disable(); | |
+#endif /* CONFIG_OMAP_WATCHDOG_CONTROL */ | |
if (memdump_ctx.mmc_memdump_ops->panic_probe(memdump_ctx.memdump_hd, | |
memdump_ctx.mmc_memdump_ops->type)) { | |
printk(KERN_ERR "apanic: full memeory dump backing device" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment