[PATCH] detect soft lockups
[linux-2.6.git] / drivers / mtd / nand / nand_base.c
index eee5115658c8c37bc3bf91136f48494e4221cb16..04e54318bc6a603f2c44b32e3b2f8b5b260a64dc 100644 (file)
@@ -526,6 +526,7 @@ static void nand_wait_ready(struct mtd_info *mtd)
        do {
                if (this->dev_ready(mtd))
                        return;
+               touch_softlockup_watchdog();
        } while (time_before(jiffies, timeo));  
 }