From patchwork Sat Jul 27 03:00:50 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 18616 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-fa0-f72.google.com (mail-fa0-f72.google.com [209.85.161.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 272F625DFF for ; Sat, 27 Jul 2013 03:05:11 +0000 (UTC) Received: by mail-fa0-f72.google.com with SMTP id t1sf2830949fae.3 for ; Fri, 26 Jul 2013 20:05:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=86AmAVzanJz/zT9OhH4oov7xDQP9+z2W3PIR9j+8ms8=; b=Rzu/O332U7V9conmpXOSkyTb16xrvoVCdYv5G/5xyiHvlocMXYf7AWnQpxF2fkRZ02 iBDiokT5DlI1j5TZb1FxJgNH2/riA1xauuvxkJwxPcRF9UIUpxHXFaZ+swYdxvTpanjW sJ5JWAO+PDx51Vk1IiU7nYFNrnwYjzF5kcXlCmteE8rV5JmyFxH2DLfUCH37aRDuOnGQ xL61pLqfM5Qga4wxDgH7ej6Ox6bEbnyu3+/mDL1Z6Mtht81+6pp1hNqGffw6ZXCyJOYk aU7CnJni37JVk6734PoAwzAomkVVR1TCfeIJJizGbw/EH2zulQo008mxq1YglofwhKTz zqEw== X-Received: by 10.180.185.132 with SMTP id fc4mr443986wic.7.1374894310168; Fri, 26 Jul 2013 20:05:10 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.39.201 with SMTP id r9ls1456546qek.72.gmail; Fri, 26 Jul 2013 20:05:09 -0700 (PDT) X-Received: by 10.52.191.72 with SMTP id gw8mr18448653vdc.114.1374894309744; Fri, 26 Jul 2013 20:05:09 -0700 (PDT) Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) by mx.google.com with ESMTPS id r9si3043922vcc.76.2013.07.26.20.05.09 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Jul 2013 20:05:09 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.180 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.180; Received: by mail-vc0-f180.google.com with SMTP id gf11so950073vcb.39 for ; Fri, 26 Jul 2013 20:05:09 -0700 (PDT) X-Received: by 10.221.47.193 with SMTP id ut1mr4775601vcb.8.1374894309671; Fri, 26 Jul 2013 20:05:09 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.11.8 with SMTP id pc8csp12398vcb; Fri, 26 Jul 2013 20:05:09 -0700 (PDT) X-Received: by 10.66.246.66 with SMTP id xu2mr58301642pac.134.1374894308662; Fri, 26 Jul 2013 20:05:08 -0700 (PDT) Received: from mail-pb0-f52.google.com (mail-pb0-f52.google.com [209.85.160.52]) by mx.google.com with ESMTPS id gy1si4597477pac.7.2013.07.26.20.05.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Jul 2013 20:05:08 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.52 is neither permitted nor denied by best guess record for domain of hanjun.guo@linaro.org) client-ip=209.85.160.52; Received: by mail-pb0-f52.google.com with SMTP id xa12so2663016pbc.25 for ; Fri, 26 Jul 2013 20:05:08 -0700 (PDT) X-Received: by 10.66.146.66 with SMTP id ta2mr58352902pab.11.1374894308192; Fri, 26 Jul 2013 20:05:08 -0700 (PDT) Received: from localhost ([218.17.215.175]) by mx.google.com with ESMTPSA id w8sm6723624pab.12.2013.07.26.20.04.31 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 26 Jul 2013 20:05:07 -0700 (PDT) From: Hanjun Guo To: Greg Kroah-Hartman , Thomas Gleixner , Chris Metcalf Cc: patches@linaro.org, linaro-kernel@lists.linaro.org, Mike Travis , Rusty Russell , Ingo Molnar , "H. Peter Anvin" , linux-kernel@vger.kernel.org, x86@kernel.org, linaro-acpi@lists.linaro.org, Al Stone , Graeme Gregory , Naresh Bhat , Tomasz Nowicki , Hanjun Guo Subject: [PATCH 2/3] x86 / cpu topology: remove the stale macro arch_provides_topology_pointers Date: Sat, 27 Jul 2013 11:00:50 +0800 Message-Id: <1374894051-31634-2-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1374894051-31634-1-git-send-email-hanjun.guo@linaro.org> References: <1374894051-31634-1-git-send-email-hanjun.guo@linaro.org> X-Gm-Message-State: ALoCoQkUcZxEK1V1BZLX+s0OYqHOHYlBxT1UsgGqsuM6jJUuXamdbKGQ3P1JY1JJiXWnWenmMUHC X-Original-Sender: hanjun.guo@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.180 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 Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Macro arch_provides_topology_pointers is pointless now, remove it. Signed-off-by: Hanjun Guo --- arch/x86/include/asm/topology.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/x86/include/asm/topology.h b/arch/x86/include/asm/topology.h index 095b215..d35f24e 100644 --- a/arch/x86/include/asm/topology.h +++ b/arch/x86/include/asm/topology.h @@ -124,9 +124,6 @@ extern const struct cpumask *cpu_coregroup_mask(int cpu); #define topology_core_id(cpu) (cpu_data(cpu).cpu_core_id) #define topology_core_cpumask(cpu) (per_cpu(cpu_core_map, cpu)) #define topology_thread_cpumask(cpu) (per_cpu(cpu_sibling_map, cpu)) - -/* indicates that pointers to the topology cpumask_t maps are valid */ -#define arch_provides_topology_pointers yes #endif static inline void arch_fix_phys_package_id(int num, u32 slot)