Commit 969ff73e authored by Dou Liyang's avatar Dou Liyang Committed by Catalin Marinas

arm64: numa: Remove the unused parent_node() macro

Commit a7be6e5a ("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: default avatarMichael Ellerman <mpe@ellerman.id.au>
Acked-by: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarDou Liyang <douly.fnst@cn.fujitsu.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 82d24d11
...@@ -7,9 +7,6 @@ ...@@ -7,9 +7,6 @@
#define NR_NODE_MEMBLKS (MAX_NUMNODES * 2) #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); int __node_distance(int from, int to);
#define node_distance(a, b) __node_distance(a, b) #define node_distance(a, b) __node_distance(a, b)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment