Thread (3 messages) flat view 3 messages, 3 authors, 2012-07-11

Re: [PATCH][v2] powerpc/watchdog: move booke watchdog param related code to setup-common.c

From: Kumar Gala <hidden>
Date: 2012-07-11 12:57:36
Also in: linux-watchdog

On Jul 11, 2012, at 4:56 AM, Shaohui Xie wrote:
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 <redacted>
---
changes for v2:
use setup-common.c instead of prom.c

arch/powerpc/kernel/setup-common.c |   27 +++++++++++++++++++++++++++
arch/powerpc/kernel/setup_32.c     |   24 ------------------------
2 files changed, 27 insertions(+), 24 deletions(-)
applied to next

- k
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help