Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1703992

Re: [PATCH 01/11] arm64: numa: Remove the unused parent_node() macro

From Will Deacon <will.deacon@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH 01/11] arm64: numa: Remove the unused parent_node() macro
Date 2017-08-04 15:40 +0200
Message-ID <uaKZB-7A9-23@gated-at.bofh.it> (permalink)
References <u7uHD-SQ-7@gated-at.bofh.it> <u7uHE-SQ-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <mpe@ellerman.id.au>
> Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
> Cc: Michael Ellerman <mpe@ellerman.id.au>
> Cc: Will Deacon <will.deacon@arm.com>
> 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 <will.deacon@arm.com>

Where you intending for this to go via the arm64 tree?

Will

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH 01/11] arm64: numa: Remove the unused parent_node() macro Will Deacon <will.deacon@arm.com> - 2017-08-04 15:40 +0200
  Re: [PATCH 01/11] arm64: numa: Remove the unused parent_node() macro Dou Liyang <douly.fnst@cn.fujitsu.com> - 2017-08-04 17:30 +0200

csiph-web