From: tip-bot for Dou Liyang <tipbot@zytor.com>
To: linux-tip-commits@vger.kernel.org
Cc: mingo@kernel.org, douly.fnst@cn.fujitsu.com, tglx@linutronix.de,
mpe@ellerman.id.au, torvalds@linux-foundation.org, hpa@zytor.com,
peterz@infradead.org, linux-kernel@vger.kernel.org
Subject: [tip:sched/core] x86/topology: Remove the unused parent_node() macro
Date: Thu, 27 Jul 2017 01:58:29 -0700 [thread overview]
Message-ID: <tip-dbe04493eddfaa89756ec9af8dde56206290182a@git.kernel.org> (raw)
In-Reply-To: <1501076076-1974-11-git-send-email-douly.fnst@cn.fujitsu.com>
Commit-ID: dbe04493eddfaa89756ec9af8dde56206290182a
Gitweb: http://git.kernel.org/tip/dbe04493eddfaa89756ec9af8dde56206290182a
Author: Dou Liyang <douly.fnst@cn.fujitsu.com>
AuthorDate: Wed, 26 Jul 2017 21:34:35 +0800
Committer: Ingo Molnar <mingo@kernel.org>
CommitDate: Thu, 27 Jul 2017 10:53:00 +0200
x86/topology: Remove the unused parent_node() macro
Commit:
a7be6e5a7f8d ("mm: drop useless local parameters of __register_one_node()")
... removed the last user of parent_node(), so remove the macro.
Reported-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1501076076-1974-11-git-send-email-douly.fnst@cn.fujitsu.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
arch/x86/include/asm/topology.h | 6 ------
1 file changed, 6 deletions(-)
diff --git a/arch/x86/include/asm/topology.h b/arch/x86/include/asm/topology.h
index 6358a85..c1d2a98 100644
--- a/arch/x86/include/asm/topology.h
+++ b/arch/x86/include/asm/topology.h
@@ -75,12 +75,6 @@ static inline const struct cpumask *cpumask_of_node(int node)
extern void setup_node_to_cpumask_map(void);
-/*
- * Returns the number of the node containing Node 'node'. This
- * architecture is flat, so it is a pretty simple function!
- */
-#define parent_node(node) (node)
-
#define pcibus_to_node(bus) __pcibus_to_node(bus)
extern int __node_distance(int, int);
next prev parent reply other threads:[~2017-07-27 9:03 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-26 13:34 [PATCH 00/11] Remove the parent_node() for each arch Dou Liyang
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
2017-07-26 13:34 ` [PATCH 02/11] ia64: topology: " Dou Liyang
2017-07-26 13:34 ` [PATCH 03/11] metag/numa: " Dou Liyang
2017-07-26 13:34 ` [PATCH 04/11] MIPS: numa: " Dou Liyang
2017-07-26 13:34 ` [PATCH 05/11] powerpc/topology: " Dou Liyang
2017-07-27 2:21 ` Michael Ellerman
2017-07-27 2:49 ` Dou Liyang
2017-08-16 11:13 ` Michael Ellerman
2017-08-18 12:50 ` [05/11] " Michael Ellerman
2017-07-26 13:34 ` [PATCH 06/11] s390/topology: " Dou Liyang
2017-07-27 8:19 ` Heiko Carstens
2017-08-16 12:56 ` Dou Liyang
2017-07-26 13:34 ` [PATCH 07/11] sh/numa: " Dou Liyang
2017-07-26 13:34 ` [PATCH 08/11] sparc64/topology: " Dou Liyang
2017-07-26 16:46 ` David Miller
2017-07-26 13:34 ` [PATCH 09/11] tile/topology: " Dou Liyang
2017-07-26 18:00 ` Chris Metcalf
2017-07-26 13:34 ` [PATCH 10/11] x86/topology: " Dou Liyang
2017-07-27 8:58 ` tip-bot for Dou Liyang [this message]
2017-07-26 13:34 ` [PATCH 11/11] asm-generic: numa: " Dou Liyang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tip-dbe04493eddfaa89756ec9af8dde56206290182a@git.kernel.org \
--to=tipbot@zytor.com \
--cc=douly.fnst@cn.fujitsu.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=mpe@ellerman.id.au \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox