From patchwork Tue May 24 21:52:25 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?RnLDqWTDqXJpYyBXZWlzYmVja2Vy?= X-Patchwork-Id: 97232 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from ozlabs.org (localhost [IPv6:::1]) by ozlabs.org (Postfix) with ESMTP id 8E0BFB7982 for ; Wed, 25 May 2011 07:53:25 +1000 (EST) Received: from mail-wy0-f179.google.com (mail-wy0-f179.google.com [74.125.82.179]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 49BC7B6F9F for ; Wed, 25 May 2011 07:52:39 +1000 (EST) Received: by mail-wy0-f179.google.com with SMTP id 36so5990428wyg.38 for ; Tue, 24 May 2011 14:52:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=zWSIY3bEQo05j9YTHB7WwEYbCdZirQrxQcv5cl5zu+M=; b=NndAUVfUckvII50OoKdct3iUpQiyG5dINu2BMAFZikqSAhrEjj58bvtclELWaXuUsV L0PRru4uYwk7nDn19W+gYFO6V9unm+UjJfw5jCgw6TZRKwAGIk4e7y2HFJe63Lo1Wehb Tiinw2p0MnzGzm0jFY3pThRuDOsMhsjitMUcY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=JlUFuI/sMZGF62p0t3TiJfQnXUpKQm4w9dmH3APOmhEXZBPNetzW774uCpgXfalMaD JLv07fjj8TWQrsc+EUW2r9XrcLUmE7KVP3MrGW7nMt/aEa5Y0zNMDQ6Fj1ogoGN5LXq5 TajEC7p6HWRsoOlUQ6MTZcySxMjY9IhusFYtU= Received: by 10.216.136.89 with SMTP id v67mr3894310wei.13.1306273959659; Tue, 24 May 2011 14:52:39 -0700 (PDT) Received: from localhost.localdomain (69.20.196.77.rev.sfr.net [77.196.20.69]) by mx.google.com with ESMTPS id n2sm4067815wej.46.2011.05.24.14.52.38 (version=SSLv3 cipher=OTHER); Tue, 24 May 2011 14:52:39 -0700 (PDT) From: Frederic Weisbecker To: LKML Subject: [PATCH 4/6] hw_breakpoints: Breakpoints arch ability don't need perf events Date: Tue, 24 May 2011 23:52:25 +0200 Message-Id: <1306273947-8410-5-git-send-email-fweisbec@gmail.com> X-Mailer: git-send-email 1.7.3.2 In-Reply-To: <1306273947-8410-1-git-send-email-fweisbec@gmail.com> References: <1306273947-8410-1-git-send-email-fweisbec@gmail.com> Cc: Peter Zijlstra , Frederic Weisbecker , Will Deacon , LKML , Paul Mundt , Prasad , Ingo Molnar , linuxppc-dev@lists.ozlabs.org X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org The breakpoint support ability in an arch is not related to the fact perf events is built or not. HAVE_HW_BREAKPOINT only shows an ability so this dependency makes no sense anymore. Archs that select HAVE_HW_BREAKPOINT already ensure that perf event is built. Remove that dependency. Signed-off-by: Frederic Weisbecker Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Will Deacon Cc: Prasad Cc: Paul Mundt --- arch/Kconfig | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/Kconfig b/arch/Kconfig index f78c2be..ce4be89 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -149,7 +149,6 @@ config HAVE_DEFAULT_NO_SPIN_MUTEXES config HAVE_HW_BREAKPOINT bool - depends on PERF_EVENTS config HAVE_MIXED_BREAKPOINTS_REGS bool