Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932663Ab1CDWLI (ORCPT ); Fri, 4 Mar 2011 17:11:08 -0500 Received: from wolverine02.qualcomm.com ([199.106.114.251]:54822 "EHLO wolverine02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932498Ab1CDWLE (ORCPT ); Fri, 4 Mar 2011 17:11:04 -0500 X-IronPort-AV: E=McAfee;i="5400,1158,6275"; a="77917936" From: Sheetal Sahasrabudhe To: linux-arm-kernel@lists.infradead.org Cc: will.deacon@arm.com, robert.richter@amd.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Sheetal Sahasrabudhe Subject: [PATCH 3/3] [ARM] Oprofile: Add Qualcomm Scorpion and ScorpionMP CPU type Date: Fri, 4 Mar 2011 17:10:47 -0500 Message-Id: <1299276647-12958-1-git-send-email-sheetals@codeaurora.org> X-Mailer: git-send-email 1.7.4.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1100 Lines: 35 This commit adds Qualcomm Scorpion and ScorpionMP CPU type to Oprofile kernel driver. Signed-off-by: Sheetal Sahasrabudhe --- arch/arm/oprofile/common.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/oprofile/common.c b/arch/arm/oprofile/common.c index c074e66..1a04f07 100644 --- a/arch/arm/oprofile/common.c +++ b/arch/arm/oprofile/common.c @@ -40,6 +40,10 @@ char *op_name_from_perf_id(void) return "arm/armv7"; case ARM_PERF_PMU_ID_CA9: return "arm/armv7-ca9"; + case ARM_PERF_PMU_ID_SCORPION: + return "arm/armv7-scorpion"; + case ARM_PERF_PMU_ID_SCORPIONMP: + return "arm/armv7-scorpionmp"; default: return NULL; } -- 1.7.4.1 -- Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum -- 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/