From patchwork Wed Apr 23 01:40:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zi Shen Lim X-Patchwork-Id: 28840 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f69.google.com (mail-oa0-f69.google.com [209.85.219.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C7264203AC for ; Wed, 23 Apr 2014 01:40:42 +0000 (UTC) Received: by mail-oa0-f69.google.com with SMTP id i4sf1766114oah.4 for ; Tue, 22 Apr 2014 18:40:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=CN31xENdBwgnulBro/uVTNo0RIn2zHSUiF6kbwCWPP8=; b=Bv3mx/raRAMMYSV7v1ENfna/PPf5QeyBn1FE2Mws3EZWg79m/C6ub2jsrGVrp8OKBL LFkSslD081ZoQm3ZB36vB3EFS9rwOxsOIj4bFKJplkMD4pFbsJS3Y6kc2IthTngRYQms TldYGBgt8lXKH+rOGOxYMrZJhcPdpaoQU7cb9eqwFTj9veDxYwgJNRBv3MQo1n8Rhqn3 zbZKaUC6zPJkuSviXotIYHWrtKY6K/Ncosyf3CFx3y4eE9nypggIt7kF27pif6CfeSnz pZ0LVwDy9Wvx22kBI3a8MT+hJyq5vKzIj5rZO6Goe/nkmn2PBwAqD4TjJOywXAItwhTL 1aFA== X-Gm-Message-State: ALoCoQmbGXGg+S1Q8Dxh/+UnTDMh4uiO3dSP6mXJxfodobXPi4pFHPkq8lCxvRYniDXaW99yhnjJ X-Received: by 10.182.29.196 with SMTP id m4mr23917663obh.26.1398217242385; Tue, 22 Apr 2014 18:40:42 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.30.4 with SMTP id c4ls354267qgc.51.gmail; Tue, 22 Apr 2014 18:40:42 -0700 (PDT) X-Received: by 10.58.74.38 with SMTP id q6mr41859400vev.7.1398217242259; Tue, 22 Apr 2014 18:40:42 -0700 (PDT) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by mx.google.com with ESMTPS id cx1si5833099vdb.146.2014.04.22.18.40.42 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Apr 2014 18:40:42 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.175; Received: by mail-vc0-f175.google.com with SMTP id lh14so344204vcb.6 for ; Tue, 22 Apr 2014 18:40:42 -0700 (PDT) X-Received: by 10.58.202.133 with SMTP id ki5mr37847866vec.19.1398217242172; Tue, 22 Apr 2014 18:40:42 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp67941vcb; Tue, 22 Apr 2014 18:40:41 -0700 (PDT) X-Received: by 10.69.2.2 with SMTP id bk2mr49093237pbd.75.1398217241371; Tue, 22 Apr 2014 18:40:41 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id wh4si23790319pbc.391.2014.04.22.18.40.40; Tue, 22 Apr 2014 18:40:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753540AbaDWBkc (ORCPT + 27 others); Tue, 22 Apr 2014 21:40:32 -0400 Received: from mail-gw3-out.broadcom.com ([216.31.210.64]:13270 "EHLO mail-gw3-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753204AbaDWBk2 (ORCPT ); Tue, 22 Apr 2014 21:40:28 -0400 X-IronPort-AV: E=Sophos;i="4.97,908,1389772800"; d="scan'208";a="25608253" Received: from irvexchcas08.broadcom.com (HELO IRVEXCHCAS08.corp.ad.broadcom.com) ([10.9.208.57]) by mail-gw3-out.broadcom.com with ESMTP; 22 Apr 2014 18:59:36 -0700 Received: from IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) by IRVEXCHCAS08.corp.ad.broadcom.com (10.9.208.57) with Microsoft SMTP Server (TLS) id 14.3.174.1; Tue, 22 Apr 2014 18:40:27 -0700 Received: from mail-sj1-12.sj.broadcom.com (10.10.10.20) by IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) with Microsoft SMTP Server id 14.3.174.1; Tue, 22 Apr 2014 18:40:28 -0700 Received: from lc-sj1-5012.broadcom.com (lc-sj1-5012.sj.broadcom.com [10.66.65.230]) by mail-sj1-12.sj.broadcom.com (Postfix) with ESMTP id C5E4427A81; Tue, 22 Apr 2014 18:40:27 -0700 (PDT) Received: by lc-sj1-5012.broadcom.com (Postfix, from userid 28931) id BFD65E01ECB; Tue, 22 Apr 2014 18:40:27 -0700 (PDT) From: Zi Shen Lim To: Catalin Marinas , Lorenzo Pieralisi , Mark Brown , Mark Rutland , Will Deacon CC: Zi Shen Lim , , Subject: [PATCH 1/2] arm64, sched: Remove unused mc_capable() and smt_capable() Date: Tue, 22 Apr 2014 18:40:13 -0700 Message-ID: <1398217214-12204-2-git-send-email-zlim@broadcom.com> X-Mailer: git-send-email 1.8.4.3 In-Reply-To: <1398217214-12204-1-git-send-email-zlim@broadcom.com> References: <1398217214-12204-1-git-send-email-zlim@broadcom.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: zlim@broadcom.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Remove unused and deprecated mc_capable() and smt_capable(). Both were added recently by f6e763b93a6c ("arm64: topology: Implement basic CPU topology support"). Uses of both were removed by 8e7fbcbc22c1 ("sched: Remove stale power aware scheduling remnants and dysfunctional knobs"). Signed-off-by: Zi Shen Lim --- arch/arm64/include/asm/topology.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm64/include/asm/topology.h b/arch/arm64/include/asm/topology.h index 0172e6d..7ebcd31 100644 --- a/arch/arm64/include/asm/topology.h +++ b/arch/arm64/include/asm/topology.h @@ -20,9 +20,6 @@ extern struct cpu_topology cpu_topology[NR_CPUS]; #define topology_core_cpumask(cpu) (&cpu_topology[cpu].core_sibling) #define topology_thread_cpumask(cpu) (&cpu_topology[cpu].thread_sibling) -#define mc_capable() (cpu_topology[0].cluster_id != -1) -#define smt_capable() (cpu_topology[0].thread_id != -1) - void init_cpu_topology(void); void store_cpu_topology(unsigned int cpuid); const struct cpumask *cpu_coregroup_mask(int cpu);