linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 01/11] arm64: numa: Remove the unused parent_node() macro
       [not found] <1501076076-1974-1-git-send-email-douly.fnst@cn.fujitsu.com>
@ 2017-07-26 13:34 ` Dou Liyang
  2017-08-04 13:30   ` Will Deacon
  0 siblings, 1 reply; 4+ messages in thread
From: Dou Liyang @ 2017-07-26 13:34 UTC (permalink / raw)
  To: linux-arm-kernel

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 at 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)
-
 int __node_distance(int from, int to);
 #define node_distance(a, b) __node_distance(a, b)
 
-- 
2.5.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 01/11] arm64: numa: Remove the unused parent_node() macro
  2017-07-26 13:34 ` [PATCH 01/11] arm64: numa: Remove the unused parent_node() macro Dou Liyang
@ 2017-08-04 13:30   ` Will Deacon
  2017-08-04 15:28     ` Dou Liyang
  0 siblings, 1 reply; 4+ messages in thread
From: Will Deacon @ 2017-08-04 13:30 UTC (permalink / raw)
  To: linux-arm-kernel

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 at 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 01/11] arm64: numa: Remove the unused parent_node() macro
  2017-08-04 13:30   ` Will Deacon
@ 2017-08-04 15:28     ` Dou Liyang
  2017-08-15 13:38       ` Catalin Marinas
  0 siblings, 1 reply; 4+ messages in thread
From: Dou Liyang @ 2017-08-04 15:28 UTC (permalink / raw)
  To: linux-arm-kernel

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 <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 at 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?
>

I intend for this to go to upstream tree. shall we?

Thanks

	dou.


> Will
>
>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 01/11] arm64: numa: Remove the unused parent_node() macro
  2017-08-04 15:28     ` Dou Liyang
@ 2017-08-15 13:38       ` Catalin Marinas
  0 siblings, 0 replies; 4+ messages in thread
From: Catalin Marinas @ 2017-08-15 13:38 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Aug 04, 2017 at 11:28:36PM +0800, Dou Liyang wrote:
> 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 <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 at 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?
> 
> I intend for this to go to upstream tree. shall we?

Queued for 4.14. Thanks.

-- 
Catalin

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-08-15 13:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1501076076-1974-1-git-send-email-douly.fnst@cn.fujitsu.com>
2017-07-26 13:34 ` [PATCH 01/11] arm64: numa: Remove the unused parent_node() macro Dou Liyang
2017-08-04 13:30   ` Will Deacon
2017-08-04 15:28     ` Dou Liyang
2017-08-15 13:38       ` Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).