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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Monday, March 30, 2009 - 7:00 pm

Gitweb:     http://git.kernel.org/linus/cc301d261f5d49cbff66b2f459f58f2652899cdb
Commit:     cc301d261f5d49cbff66b2f459f58f2652899cdb
Parent:     7b45101d09ab13eafc0c3a5232e1606654d122ea
Author:     Rusty Russell <rusty@rustcorp.com.au>
AuthorDate: Mon Mar 16 14:40:28 2009 +1030
Committer:  Rusty Russell <rusty@rustcorp.com.au>
CommitDate: Mon Mar 16 14:40:28 2009 +1030

    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>
---
 arch/sparc/include/asm/topology_64.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/arch/sparc/include/asm/topology_64.h b/arch/sparc/include/asm/topology_64.h
index 430ce39..a5ba4ad 100644
--- a/arch/sparc/include/asm/topology_64.h
+++ b/arch/sparc/include/asm/topology_64.h
@@ -43,10 +43,6 @@ static inline int pcibus_to_node(struct pci_bus *pbus)
 }
 #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_MASK_ALL_PTR : \
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
cpumask: remove the now-obsoleted pcibus_to_cpumask(): sparc, Linux Kernel Mailing ..., (Mon Mar 30, 7:00 pm)