From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id F3A2A2C033E for ; Wed, 11 Jul 2012 22:57:36 +1000 (EST) Subject: Re: [PATCH][v2] powerpc/watchdog: move booke watchdog param related code to setup-common.c Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: Kumar Gala In-Reply-To: <1342000568-5605-1-git-send-email-Shaohui.Xie@freescale.com> Date: Wed, 11 Jul 2012 07:57:30 -0500 Message-Id: <60904FE9-978C-494A-8C9F-B4318B4FB46D@kernel.crashing.org> References: <1342000568-5605-1-git-send-email-Shaohui.Xie@freescale.com> To: Shaohui Xie Cc: linuxppc-dev@lists.ozlabs.org, linux-watchdog@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 > --- > 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