Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755929AbXL2QGS (ORCPT ); Sat, 29 Dec 2007 11:06:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753843AbXL2QGG (ORCPT ); Sat, 29 Dec 2007 11:06:06 -0500 Received: from tomts36-srv.bellnexxia.net ([209.226.175.93]:54446 "EHLO tomts36-srv.bellnexxia.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753896AbXL2QGE (ORCPT ); Sat, 29 Dec 2007 11:06:04 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4FAL/+dUdMROHU/2dsb2JhbACBV6oP Date: Sat, 29 Dec 2007 11:05:57 -0500 From: Mathieu Desnoyers To: Adrian Bunk Cc: Randy Dunlap , rmk@arm.linux.org.uk, phil.el@wanadoo.fr, oprofile-list@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: [2.6.24 patch] Fix ARMv6 OProfile support Message-ID: <20071229160556.GA12262@Krystal> References: <20071228185636.GA4738@stusta.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <20071228185636.GA4738@stusta.de> X-Editor: vi X-Info: http://krystal.dyndns.org:8080 X-Operating-System: Linux/2.6.21.3-grsec (i686) X-Uptime: 11:05:02 up 55 days, 21:10, 4 users, load average: 0.47, 0.59, 0.59 User-Agent: Mutt/1.5.16 (2007-06-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1582 Lines: 57 Fix ARMv6 OProfile support This patch restores the ARMv6 OProfile support that was killed by commit 09cadedbdc01f1a4bea1f427d4fb4642eaa19da9. It puts the config options in arch/arm/Kconfig. Signed-off-by: Mathieu Desnoyers CC: Adrian Bunk CC: Randy Dunlap CC: rmk@arm.linux.org.uk CC: phil.el@wanadoo.fr CC: oprofile-list@lists.sourceforge.net --- arch/arm/Kconfig | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) Index: linux-2.6-lttng/arch/arm/Kconfig =================================================================== --- linux-2.6-lttng.orig/arch/arm/Kconfig 2007-12-28 17:00:50.000000000 -0500 +++ linux-2.6-lttng/arch/arm/Kconfig 2007-12-28 17:02:05.000000000 -0500 @@ -130,6 +130,25 @@ config FIQ config ARCH_MTD_XIP bool +if OPROFILE + +config OPROFILE_ARMV6 + bool + depends on CPU_V6 && !SMP + default y + select OPROFILE_ARM11_CORE + +config OPROFILE_MPCORE + bool + depends on CPU_V6 && SMP + default y + select OPROFILE_ARM11_CORE + +config OPROFILE_ARM11_CORE + bool + +endif + config VECTORS_BASE hex default 0xffff0000 if MMU || CPU_HIGH_VECTOR -- Mathieu Desnoyers Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/