diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 21:14:11 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 21:14:11 -0400 |
commit | 94a8d5caba74211ec76dac80fc6e2d5c391530df (patch) | |
tree | 21d17d214a354ae00ae27217d82b67bfc5bff3a3 /arch/sparc | |
parent | 2bcd57ab61e7cabed626226a3771617981c11ce1 (diff) | |
parent | 6ba2ef7baac23a5d9bb85e28b882d16b439a2293 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus
* git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus: (39 commits)
cpumask: Move deprecated functions to end of header.
cpumask: remove unused deprecated functions, avoid accusations of insanity
cpumask: use new-style cpumask ops in mm/quicklist.
cpumask: use mm_cpumask() wrapper: x86
cpumask: use mm_cpumask() wrapper: um
cpumask: use mm_cpumask() wrapper: mips
cpumask: use mm_cpumask() wrapper: mn10300
cpumask: use mm_cpumask() wrapper: m32r
cpumask: use mm_cpumask() wrapper: arm
cpumask: Use accessors for cpu_*_mask: um
cpumask: Use accessors for cpu_*_mask: powerpc
cpumask: Use accessors for cpu_*_mask: mips
cpumask: Use accessors for cpu_*_mask: m32r
cpumask: remove arch_send_call_function_ipi
cpumask: arch_send_call_function_ipi_mask: s390
cpumask: arch_send_call_function_ipi_mask: powerpc
cpumask: arch_send_call_function_ipi_mask: mips
cpumask: arch_send_call_function_ipi_mask: m32r
cpumask: arch_send_call_function_ipi_mask: alpha
cpumask: remove obsolete topology_core_siblings and topology_thread_siblings: ia64
...
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/include/asm/smp_64.h | 1 | ||||
-rw-r--r-- | arch/sparc/include/asm/topology_64.h | 16 |
2 files changed, 0 insertions, 17 deletions
diff --git a/arch/sparc/include/asm/smp_64.h b/arch/sparc/include/asm/smp_64.h index becb6bf353a9..f49e11cd4ded 100644 --- a/arch/sparc/include/asm/smp_64.h +++ b/arch/sparc/include/asm/smp_64.h | |||
@@ -36,7 +36,6 @@ extern int sparc64_multi_core; | |||
36 | 36 | ||
37 | extern void arch_send_call_function_single_ipi(int cpu); | 37 | extern void arch_send_call_function_single_ipi(int cpu); |
38 | extern void arch_send_call_function_ipi_mask(const struct cpumask *mask); | 38 | extern void arch_send_call_function_ipi_mask(const struct cpumask *mask); |
39 | #define arch_send_call_function_ipi_mask arch_send_call_function_ipi_mask | ||
40 | 39 | ||
41 | /* | 40 | /* |
42 | * General functions that each host system must provide. | 41 | * General functions that each host system must provide. |
diff --git a/arch/sparc/include/asm/topology_64.h b/arch/sparc/include/asm/topology_64.h index 26cd25c08399..600a79035fa1 100644 --- a/arch/sparc/include/asm/topology_64.h +++ b/arch/sparc/include/asm/topology_64.h | |||
@@ -12,22 +12,8 @@ static inline int cpu_to_node(int cpu) | |||
12 | 12 | ||
13 | #define parent_node(node) (node) | 13 | #define parent_node(node) (node) |
14 | 14 | ||
15 | static inline cpumask_t node_to_cpumask(int node) | ||
16 | { | ||
17 | return numa_cpumask_lookup_table[node]; | ||
18 | } | ||
19 | #define cpumask_of_node(node) (&numa_cpumask_lookup_table[node]) | 15 | #define cpumask_of_node(node) (&numa_cpumask_lookup_table[node]) |
20 | 16 | ||
21 | /* | ||
22 | * Returns a pointer to the cpumask of CPUs on Node 'node'. | ||
23 | * Deprecated: use "const struct cpumask *mask = cpumask_of_node(node)" | ||
24 | */ | ||
25 | #define node_to_cpumask_ptr(v, node) \ | ||
26 | cpumask_t *v = &(numa_cpumask_lookup_table[node]) | ||
27 | |||
28 | #define node_to_cpumask_ptr_next(v, node) \ | ||
29 | v = &(numa_cpumask_lookup_table[node]) | ||
30 | |||
31 | struct pci_bus; | 17 | struct pci_bus; |
32 | #ifdef CONFIG_PCI | 18 | #ifdef CONFIG_PCI |
33 | extern int pcibus_to_node(struct pci_bus *pbus); | 19 | extern int pcibus_to_node(struct pci_bus *pbus); |
@@ -71,8 +57,6 @@ static inline int pcibus_to_node(struct pci_bus *pbus) | |||
71 | #ifdef CONFIG_SMP | 57 | #ifdef CONFIG_SMP |
72 | #define topology_physical_package_id(cpu) (cpu_data(cpu).proc_id) | 58 | #define topology_physical_package_id(cpu) (cpu_data(cpu).proc_id) |
73 | #define topology_core_id(cpu) (cpu_data(cpu).core_id) | 59 | #define topology_core_id(cpu) (cpu_data(cpu).core_id) |
74 | #define topology_core_siblings(cpu) (cpu_core_map[cpu]) | ||
75 | #define topology_thread_siblings(cpu) (per_cpu(cpu_sibling_map, cpu)) | ||
76 | #define topology_core_cpumask(cpu) (&cpu_core_map[cpu]) | 60 | #define topology_core_cpumask(cpu) (&cpu_core_map[cpu]) |
77 | #define topology_thread_cpumask(cpu) (&per_cpu(cpu_sibling_map, cpu)) | 61 | #define topology_thread_cpumask(cpu) (&per_cpu(cpu_sibling_map, cpu)) |
78 | #define mc_capable() (sparc64_multi_core) | 62 | #define mc_capable() (sparc64_multi_core) |