mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
[PATCH] ppc64: prep for NUMA sparsemem rework 2
Remove ppc64 specific version of nr_cpus_node and use the generic one provided. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
c0d33403ad
commit
3e66c4def1
3 changed files with 0 additions and 7 deletions
|
|
@ -37,8 +37,6 @@ static inline int node_to_first_cpu(int node)
|
|||
#define pcibus_to_node(node) (-1)
|
||||
#define pcibus_to_cpumask(bus) (cpu_online_map)
|
||||
|
||||
#define nr_cpus_node(node) (nr_cpus_in_node[node])
|
||||
|
||||
/* sched_domains SD_NODE_INIT for PPC64 machines */
|
||||
#define SD_NODE_INIT (struct sched_domain) { \
|
||||
.span = CPU_MASK_NONE, \
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@ extern struct pglist_data *node_data[];
|
|||
extern int numa_cpu_lookup_table[];
|
||||
extern char *numa_memory_lookup_table;
|
||||
extern cpumask_t numa_cpumask_lookup_table[];
|
||||
extern int nr_cpus_in_node[];
|
||||
#ifdef CONFIG_MEMORY_HOTPLUG
|
||||
extern unsigned long max_pfn;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue