diff options
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/include/asm/mach-ip27/topology.h | 1 | ||||
-rw-r--r-- | arch/mips/sgi-ip27/ip27-memory.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/include/asm/mach-ip27/topology.h b/arch/mips/include/asm/mach-ip27/topology.h index 697244a7d39e..f6837422fe65 100644 --- a/arch/mips/include/asm/mach-ip27/topology.h +++ b/arch/mips/include/asm/mach-ip27/topology.h | |||
@@ -24,7 +24,6 @@ extern struct cpuinfo_ip27 sn_cpu_info[NR_CPUS]; | |||
24 | 24 | ||
25 | #define cpu_to_node(cpu) (sn_cpu_info[(cpu)].p_nodeid) | 25 | #define cpu_to_node(cpu) (sn_cpu_info[(cpu)].p_nodeid) |
26 | #define parent_node(node) (node) | 26 | #define parent_node(node) (node) |
27 | #define node_to_cpumask(node) (hub_data(node)->h_cpus) | ||
28 | #define cpumask_of_node(node) (&hub_data(node)->h_cpus) | 27 | #define cpumask_of_node(node) (&hub_data(node)->h_cpus) |
29 | struct pci_bus; | 28 | struct pci_bus; |
30 | extern int pcibus_to_node(struct pci_bus *); | 29 | extern int pcibus_to_node(struct pci_bus *); |
diff --git a/arch/mips/sgi-ip27/ip27-memory.c b/arch/mips/sgi-ip27/ip27-memory.c index 060d853d7b35..f61c164d1e67 100644 --- a/arch/mips/sgi-ip27/ip27-memory.c +++ b/arch/mips/sgi-ip27/ip27-memory.c | |||
@@ -421,7 +421,7 @@ static void __init node_mem_init(cnodeid_t node) | |||
421 | 421 | ||
422 | /* | 422 | /* |
423 | * A node with nothing. We use it to avoid any special casing in | 423 | * A node with nothing. We use it to avoid any special casing in |
424 | * node_to_cpumask | 424 | * cpumask_of_node |
425 | */ | 425 | */ |
426 | static struct node_data null_node = { | 426 | static struct node_data null_node = { |
427 | .hub = { | 427 | .hub = { |