Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 362843
b: refs/heads/master
c: eee46b3
h: refs/heads/master
i:
  362841: d053886
  362839: a172c88
v: v3
  • Loading branch information
Yijing Wang authored and Tony Luck committed Apr 2, 2013
1 parent 3ea0753 commit 864dbf9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d303e9e98fce56cdb3c6f2ac92f626fc2bd51c77
refs/heads/master: eee46b3de715c9a2a25ebf3c135b88a1d73d92c2
5 changes: 2 additions & 3 deletions trunk/arch/ia64/include/asm/numa.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,13 @@ extern int paddr_to_nid(unsigned long paddr);

extern void map_cpu_to_node(int cpu, int nid);
extern void unmap_cpu_from_node(int cpu, int nid);

extern void numa_clear_node(int cpu);

#else /* !CONFIG_NUMA */
#define map_cpu_to_node(cpu, nid) do{}while(0)
#define unmap_cpu_from_node(cpu, nid) do{}while(0)

#define paddr_to_nid(addr) 0

#define numa_clear_node(cpu) do { } while (0)
#endif /* CONFIG_NUMA */

#endif /* _ASM_IA64_NUMA_H */
5 changes: 5 additions & 0 deletions trunk/arch/ia64/mm/numa.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ int __meminit __early_pfn_to_nid(unsigned long pfn)
return -1;
}

void __cpuinit numa_clear_node(int cpu)
{
unmap_cpu_from_node(cpu, NUMA_NO_NODE);
}

#ifdef CONFIG_MEMORY_HOTPLUG
/*
* SRAT information is stored in node_memblk[], then we can use SRAT
Expand Down

0 comments on commit 864dbf9

Please sign in to comment.