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

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/97c12f85ac5e4ac2faee6cada014ac6205105b19
Commit:     97c12f85ac5e4ac2faee6cada014ac6205105b19
Parent:     612a726faf8486fa48b34fa37115ce1e7421d383
Author:     Rusty Russell <rusty@rustcorp.com.au>
AuthorDate: Mon Mar 30 22:05:17 2009 -0600
Committer:  Rusty Russell <rusty@rustcorp.com.au>
CommitDate: Mon Mar 30 22:05:17 2009 +1030

    cpumask: remove the now-obsoleted pcibus_to_cpumask(): generic
    
    Impact: reduce stack usage for large NR_CPUS
    
    cpumask_of_pcibus() is the new version.
    
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
---
 include/asm-generic/topology.h |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/include/asm-generic/topology.h b/include/asm-generic/topology.h
index 47766b3..88bada2 100644
--- a/include/asm-generic/topology.h
+++ b/include/asm-generic/topology.h
@@ -47,13 +47,6 @@
 #define pcibus_to_node(bus)	((void)(bus), -1)
 #endif
 
-#ifndef pcibus_to_cpumask
-#define pcibus_to_cpumask(bus)	(pcibus_to_node(bus) == -1 ? \
-					CPU_MASK_ALL : \
-					node_to_cpumask(pcibus_to_node(bus)) \
-				)
-#endif
-
 #ifndef cpumask_of_pcibus
 #define cpumask_of_pcibus(bus)	(pcibus_to_node(bus) == -1 ?		\
 				 cpu_all_mask :				\
--
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(): generic, Linux Kernel Mailing ..., (Mon Mar 30, 7:00 pm)