From: Shaohui Xie Date: Wed, 11 Jul 2012 09:56:08 +0000 (+0800) Subject: powerpc/watchdog: move booke watchdog param related code to setup-common.c X-Git-Tag: v3.6-rc1~132^2~3^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5f02bb422352ea6a272953e5ac7046111ddcd87;p=pandora-kernel.git 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 Signed-off-by: Kumar Gala --- Reading git-diff-tree failed