From: Rusty Russell <rusty@rustcorp.com.au>
Date: Thu, 24 Sep 2009 15:34:25 +0000 (-0600)
Subject: cpumask: remove the now-obsoleted pcibus_to_cpumask(): powerpc
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b966cd6b285d4cd6feaf8b06b21bc87adb907929;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

cpumask: remove the now-obsoleted pcibus_to_cpumask(): powerpc

cpumask_of_pcibus() is the new version.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
---

diff --git a/arch/powerpc/include/asm/topology.h b/arch/powerpc/include/asm/topology.h
index 394edcbcce71..9a3300d6a27a 100644
--- a/arch/powerpc/include/asm/topology.h
+++ b/arch/powerpc/include/asm/topology.h
@@ -36,11 +36,6 @@ static inline int pcibus_to_node(struct pci_bus *bus)
 }
 #endif
 
-#define pcibus_to_cpumask(bus)	(pcibus_to_node(bus) == -1 ? \
-					CPU_MASK_ALL : \
-					node_to_cpumask(pcibus_to_node(bus)) \
-				)
-
 #define cpumask_of_pcibus(bus)	(pcibus_to_node(bus) == -1 ?		\
 				 cpu_all_mask :				\
 				 cpumask_of_node(pcibus_to_node(bus)))