jffs2_1pass.c - Adding watchdog support
PATCH 1/1 jffs2_1pass.c - Adding watchdog support
Adds watchdog support.
signed off by Stuart Wood <[email protected]>
---
fs/jffs2/jffs2_1pass.c +5 -0
@@ -116,6 +116,7 @@#include <malloc.h> #include <linux/stat.h> #include <linux/time.h> +#include <watchdog.h> #if defined(CONFIG_CMD_JFFS2 )
@@ -1188,6 +1189,9 @@ jffs2_1pass_build_lists(struct part_info * part) oldoffset = offset; } +/* Kick and watch dog, if present */ +WATCHDOG_RESET (); + node = (struct jffs2_unknown_node *)get_node_mem ((u32 )part->offset + offset);if (node->magic ==JFFS2_MAGIC_BITMASK &&hdr_crc (node)) {
/* if its a fragment add it */
Wolfgang Denk
AppliedPATCH 1/1 jffs2_1pass.c - Adding watchdog support
fs/jffs2/jffs2_1pass.c
Quoted 6 lines · In message <[email protected]> you…
Adds watchdog support.
signed off by Stuart Wood <[email protected]>
---fs/jffs2/jffs2_1pass.c +0
-0
Applied, after fixing white space mangling (long lines wrapped around) and Signed-off-by: format errors.
Please make sure to fix your mailer.
Best regards,
Wolfgang Denk
Signature · 4 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de An Elephant is a mouse with an Operating System. - Knuth