{"id":808518,"url":"http://patchwork.ozlabs.org/api/1.0/patches/808518/?format=json","project":{"id":10,"url":"http://patchwork.ozlabs.org/api/1.0/projects/10/?format=json","name":"Linux SPARC Development ","link_name":"sparclinux","list_id":"sparclinux.vger.kernel.org","list_email":"sparclinux@vger.kernel.org","web_url":null,"scm_url":null,"webscm_url":null},"msgid":"<1504234599-29533-6-git-send-email-douly.fnst@cn.fujitsu.com>","date":"2017-09-01T02:56:37","name":"[v2,5/7] sparc64/topology: Remove the unused parent_node() macro","commit_ref":null,"pull_url":null,"state":"not-applicable","archived":false,"hash":"eb055014dca246594992c25b80fe7efe4374cf91","submitter":{"id":69629,"url":"http://patchwork.ozlabs.org/api/1.0/people/69629/?format=json","name":"Dou Liyang","email":"douly.fnst@cn.fujitsu.com"},"delegate":{"id":34,"url":"http://patchwork.ozlabs.org/api/1.0/users/34/?format=json","username":"davem","first_name":"David","last_name":"Miller","email":"davem@davemloft.net"},"mbox":"http://patchwork.ozlabs.org/project/sparclinux/patch/1504234599-29533-6-git-send-email-douly.fnst@cn.fujitsu.com/mbox/","series":[{"id":943,"url":"http://patchwork.ozlabs.org/api/1.0/series/943/?format=json","date":"2017-09-01T02:56:37","name":"Remove the parent_node() for each arch","version":2,"mbox":"http://patchwork.ozlabs.org/series/943/mbox/"}],"check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/808518/checks/","tags":{},"headers":{"Return-Path":"<sparclinux-owner@vger.kernel.org>","X-Original-To":"patchwork-incoming@ozlabs.org","Delivered-To":"patchwork-incoming@ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=sparclinux-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xk3nK3tmqz9s83\n\tfor <patchwork-incoming@ozlabs.org>;\n\tFri,  1 Sep 2017 12:57:25 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751536AbdIAC5M (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tThu, 31 Aug 2017 22:57:12 -0400","from mail.cn.fujitsu.com ([183.91.158.132]:15016 \"EHLO\n\theian.cn.fujitsu.com\" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org\n\twith ESMTP id S1751455AbdIAC4x (ORCPT\n\t<rfc822; sparclinux@vger.kernel.org>); Thu, 31 Aug 2017 22:56:53 -0400","from localhost (HELO cn.fujitsu.com) ([10.167.33.5])\n\tby heian.cn.fujitsu.com with ESMTP; 01 Sep 2017 10:56:50 +0800","from G08CNEXCHPEKD01.g08.fujitsu.local (unknown [10.167.33.80])\n\tby cn.fujitsu.com (Postfix) with ESMTP id C0FB5472403E;\n\tFri,  1 Sep 2017 10:56:46 +0800 (CST)","from localhost.localdomain.localdomain (10.167.226.106) by\n\tG08CNEXCHPEKD01.g08.fujitsu.local (10.167.33.89) with Microsoft SMTP\n\tServer (TLS) id 14.3.319.2; Fri, 1 Sep 2017 10:56:47 +0800"],"X-IronPort-AV":"E=Sophos;i=\"5.41,456,1498492800\"; d=\"scan'208\";a=\"25090041\"","From":"Dou Liyang <douly.fnst@cn.fujitsu.com>","To":"<akpm@linux-foundation.org>, <linux-kernel@vger.kernel.org>","CC":"Dou Liyang <douly.fnst@cn.fujitsu.com>,\n\t\"David S. Miller\" <davem@davemloft.net>, <sparclinux@vger.kernel.org>","Subject":"[PATCH v2 5/7] sparc64/topology: Remove the unused parent_node()\n\tmacro","Date":"Fri, 1 Sep 2017 10:56:37 +0800","Message-ID":"<1504234599-29533-6-git-send-email-douly.fnst@cn.fujitsu.com>","X-Mailer":"git-send-email 2.5.5","In-Reply-To":"<1504234599-29533-1-git-send-email-douly.fnst@cn.fujitsu.com>","References":"<1504234599-29533-1-git-send-email-douly.fnst@cn.fujitsu.com>","MIME-Version":"1.0","Content-Type":"text/plain","X-Originating-IP":"[10.167.226.106]","X-yoursite-MailScanner-ID":"C0FB5472403E.AFEFE","X-yoursite-MailScanner":"Found to be clean","X-yoursite-MailScanner-From":"douly.fnst@cn.fujitsu.com","X-Spam-Status":"No","Sender":"sparclinux-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<sparclinux.vger.kernel.org>","X-Mailing-List":"sparclinux@vger.kernel.org"},"content":"Commit a7be6e5a7f8d (\"mm: drop useless local parameters of\n__register_one_node()\") removes the last user of parent_node().\n\nThe parent_node() macro in SPARC64 platform is unnecessary.\n\nRemove it for cleanup.\n\nReported-by: Michael Ellerman <mpe@ellerman.id.au>\nSigned-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>\nAcked-by: David S. Miller <davem@davemloft.net>\nCc: \"David S. Miller\" <davem@davemloft.net>\nCc: sparclinux@vger.kernel.org\n---\n arch/sparc/include/asm/topology_64.h | 2 --\n 1 file changed, 2 deletions(-)","diff":"diff --git a/arch/sparc/include/asm/topology_64.h b/arch/sparc/include/asm/topology_64.h\nindex ad5293f..0fcc9a0 100644\n--- a/arch/sparc/include/asm/topology_64.h\n+++ b/arch/sparc/include/asm/topology_64.h\n@@ -10,8 +10,6 @@ static inline int cpu_to_node(int cpu)\n \treturn numa_cpu_lookup_table[cpu];\n }\n \n-#define parent_node(node)\t(node)\n-\n #define cpumask_of_node(node) ((node) == -1 ?\t\t\t\t\\\n \t\t\t       cpu_all_mask :\t\t\t\t\\\n \t\t\t       &numa_cpumask_lookup_table[node])\n","prefixes":["v2","5/7"]}