From patchwork Fri Jul 8 05:59:23 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tommy Lin X-Patchwork-Id: 956082 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p685xxET004905 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 8 Jul 2011 06:00:20 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Qf46N-0006YP-I1; Fri, 08 Jul 2011 05:59:47 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Qf46N-0003YW-2T; Fri, 08 Jul 2011 05:59:47 +0000 Received: from mail-yx0-f177.google.com ([209.85.213.177]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Qf46I-0003YD-Fr for linux-arm-kernel@lists.infradead.org; Fri, 08 Jul 2011 05:59:44 +0000 Received: by yxj20 with SMTP id 20so787213yxj.36 for ; Thu, 07 Jul 2011 22:59:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; bh=8Q5HnWSE2sD2j0oVuQIYSCKEl7hmUxbLR9cM58/0b3I=; b=pB0D2YQ4iuuc3Z4ozWdfLlyMSeasf+nLwD66OG1xf+uFv3vxWeq7DUznp8HBfSGOeH PLQ8qqw16WBXRBemzZJ0GrI8scOdUfW1VBprWhoJj/qFZj5CkZFpSX6ZaGjcGkj1sHrK CV2CDFqlzQWjVCC/qGTISr2ZZi91ETNUY/j4M= Received: by 10.236.190.132 with SMTP id e4mr2075100yhn.89.1310104777765; Thu, 07 Jul 2011 22:59:37 -0700 (PDT) Received: from localhost.localdomain (60-250-205-192.HINET-IP.hinet.net [60.250.205.192]) by mx.google.com with ESMTPS id a21sm769990yhm.67.2011.07.07.22.59.33 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 07 Jul 2011 22:59:35 -0700 (PDT) From: Tommy Lin To: Russell King , linux-arm-kernel@lists.infradead.org, Anton Vorontsov Subject: [PATCH 1/2] arch: arm: Correct the dependency of HAVE_ARM_TWD Date: Fri, 8 Jul 2011 13:59:23 +0800 Message-Id: <1310104763-12948-1-git-send-email-tommy.lin@caviumnetworks.com> X-Mailer: git-send-email 1.7.0.4 X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110708_015943_614158_5DC50337 X-CRM114-Status: GOOD ( 13.97 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.213.177 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tommy.lin.1101[at]gmail.com) 0.1 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (tommy.lin.1101[at]gmail.com) -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Tommy Lin , linux-kernel@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Fri, 08 Jul 2011 06:00:20 +0000 (UTC) Original mpcore_wdt config dependency is as follow: MPCORE_WATCHDOG -> HAVE_ARM_TWD -> SMP -> (CPU_V6K || CPU_V7) This patch will remove SMP and made the dependency as follow: MPCORE_WATCHDOG -> HAVE_ARM_TWD -> (CPU_V6K || CPU_V7) The MPCore watchdog (and timer) can be found at ARM11 MPCore (CPU_V6K) and Cortex A9 MPCore (CPU_V7). The dependency between MPCORE_WATCHDOG and (CPU_V6K || CPUV7) is necessary, but the dependency of SMP is redundant. The MPCore watchdog should function normally even SMP is not turned on with ARM11 or Cortex A9 CPU. Signed-off-by: Tommy Lin --- arch/arm/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 3262b15..c148326 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1353,7 +1353,7 @@ config HAVE_ARM_SCU config HAVE_ARM_TWD bool - depends on SMP + depends on CPU_V6K || CPU_V7 select TICK_ONESHOT help This options enables support for the ARM timer and watchdog unit