commit | c5f02bb422352ea6a272953e5ac7046111ddcd87 | [log] [tgz] |
---|---|---|
author | Shaohui Xie <Shaohui.Xie@freescale.com> | Wed Jul 11 17:56:08 2012 +0800 |
committer | Kumar Gala <galak@kernel.crashing.org> | Wed Jul 11 07:44:03 2012 -0500 |
tree | f66c23ebd0c896ed6a4cc0eb1d5fb6728e3a1aae | |
parent | b5dc2986879c2a6c65a3cfede7ba6de3531a0f3e [diff] |
powerpc/watchdog: move booke watchdog param related code to setup-common.c Currently, BOOKE watchdog code for checking "wdt" and "wdt_period" is in setup_32.c, it cannot be used in 64-bit, so move it to a common place setup-common.c, which will be shared by 32-bit and 64-bit. Also, replace the simple_strtoul with kstrtol. Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>