Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 36118
b: refs/heads/master
c: bbf2bef
h: refs/heads/master
v: v3
  • Loading branch information
KAMEZAWA Hiroyuki authored and Linus Torvalds committed Sep 27, 2006
1 parent bce7bd9 commit 3d5f4a9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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: a5b08073a0b512d75fa1a7f82ee850e5c105cce9
refs/heads/master: bbf2bef9f50eb119ffadd735eb0966ac8a04f91f
2 changes: 0 additions & 2 deletions trunk/arch/ia64/kernel/topology.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ int arch_register_cpu(int num)
*/
if (!can_cpei_retarget() && is_cpu_cpei_target(num))
sysfs_cpus[num].cpu.no_control = 1;
#ifdef CONFIG_NUMA
map_cpu_to_node(num, node_cpuid[num].nid);
#endif
#endif

return register_cpu(&sysfs_cpus[num].cpu, num);
Expand Down
2 changes: 2 additions & 0 deletions trunk/include/asm-ia64/numa.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ extern void unmap_cpu_from_node(int cpu, int nid);


#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

Expand Down

0 comments on commit 3d5f4a9

Please sign in to comment.