: [PATCH 1/2] powerpc/watchdog: move booke watchdog param related
code to prom.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
prom.c, which will be shared by 32-bit and 64-bit.
Also, replace
On May 8, 2012, at 10:46 PM, Bhushan Bharat-R65777 wrote:
.org] On Behalf Of Shaohui Xie
Sent: Tuesday, May 08, 2012 11:37 AM
To: linux-watch...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org
Cc: Xie Shaohui-B21989
Subject: [PATCH 1/2] powerpc/watchdog: move booke watchdog param
related
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
prom.c, which will be shared by 32-bit and 64-bit.
Also, replace the simple_strtoul with kstrtol.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
@lists.ozlabs.org
Cc: Xie Shaohui-B21989
Subject: [PATCH 1/2] powerpc/watchdog: move booke watchdog param related code
to
prom.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 prom.c,
which
@lists.ozlabs.org
Cc: Xie Shaohui-B21989
Subject: [PATCH 1/2] powerpc/watchdog: move booke watchdog param
related code to prom.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 prom.c, which will be shared
-Original Message-
From: Xie Shaohui-B21989
Sent: Wednesday, May 09, 2012 8:50 AM
To: Bhushan Bharat-R65777; linux-watch...@vger.kernel.org; linuxppc-
d...@lists.ozlabs.org
Subject: RE: [PATCH 1/2] powerpc/watchdog: move booke watchdog param related
code to prom.c
-Original Message-
From: Xie Shaohui-B21989
Sent: Wednesday, May 09, 2012 8:50 AM
To: Bhushan Bharat-R65777; linux-watch...@vger.kernel.org; linuxppc-
d...@lists.ozlabs.org
Subject: RE: [PATCH 1/2] powerpc/watchdog: move booke watchdog param
related code to prom.c
-Original
.org] On Behalf Of Shaohui Xie
Sent: Tuesday, May 08, 2012 11:37 AM
To: linux-watch...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org
Cc: Xie Shaohui-B21989
Subject: [PATCH 1/2] powerpc/watchdog: move booke watchdog param
related code to prom.c
Currently, BOOKE watchdog