Przeglądaj źródła

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

Impact: reduce stack usage for large NR_CPUS

cpumask_of_pcibus() is the new version.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Rusty Russell 16 lat temu
rodzic
commit
cc301d261f
1 zmienionych plików z 0 dodań i 4 usunięć
  1. 0 4
      arch/sparc/include/asm/topology_64.h

+ 0 - 4
arch/sparc/include/asm/topology_64.h

@@ -43,10 +43,6 @@ static inline int pcibus_to_node(struct pci_bus *pbus)
 }
 }
 #endif
 #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)	\
 #define cpumask_of_pcibus(bus)	\
 	(pcibus_to_node(bus) == -1 ? \
 	(pcibus_to_node(bus) == -1 ? \
 	 CPU_MASK_ALL_PTR : \
 	 CPU_MASK_ALL_PTR : \