Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752679AbdHDP24 (ORCPT ); Fri, 4 Aug 2017 11:28:56 -0400 Received: from [183.91.158.132] ([183.91.158.132]:23135 "EHLO heian.cn.fujitsu.com" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752070AbdHDP2y (ORCPT ); Fri, 4 Aug 2017 11:28:54 -0400 X-IronPort-AV: E=Sophos;i="5.41,321,1498492800"; d="scan'208";a="22231096" Subject: Re: [PATCH 01/11] arm64: numa: Remove the unused parent_node() macro To: Will Deacon References: <1501076076-1974-1-git-send-email-douly.fnst@cn.fujitsu.com> <1501076076-1974-2-git-send-email-douly.fnst@cn.fujitsu.com> <20170804133017.GD15287@arm.com> CC: , , , From: Dou Liyang Message-ID: <0e088b13-12eb-3bf6-696d-9fdd79e96670@cn.fujitsu.com> Date: Fri, 4 Aug 2017 23:28:36 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20170804133017.GD15287@arm.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.167.226.106] X-yoursite-MailScanner-ID: C16B8472278C.A98FA X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: douly.fnst@cn.fujitsu.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1222 Lines: 49 Hi will, At 08/04/2017 09:30 PM, Will Deacon wrote: > On Wed, Jul 26, 2017 at 09:34:26PM +0800, Dou Liyang wrote: >> Commit a7be6e5a7f8d ("mm: drop useless local parameters of >> __register_one_node()") removes the last user of parent_node(). >> >> The parent_node() macro in ARM64 platform is unnecessary. >> >> Remove it for cleanup. >> >> Reported-by: Michael Ellerman >> Signed-off-by: Dou Liyang >> Cc: Michael Ellerman >> Cc: Will Deacon >> Cc: linux-arm-kernel@lists.infradead.org >> --- >> arch/arm64/include/asm/numa.h | 3 --- >> 1 file changed, 3 deletions(-) >> >> diff --git a/arch/arm64/include/asm/numa.h b/arch/arm64/include/asm/numa.h >> index bf466d1..ef7b238 100644 >> --- a/arch/arm64/include/asm/numa.h >> +++ b/arch/arm64/include/asm/numa.h >> @@ -7,9 +7,6 @@ >> >> #define NR_NODE_MEMBLKS (MAX_NUMNODES * 2) >> >> -/* currently, arm64 implements flat NUMA topology */ >> -#define parent_node(node) (node) >> - > > Acked-by: Will Deacon > > Where you intending for this to go via the arm64 tree? > I intend for this to go to upstream tree. shall we? Thanks dou. > Will > > >