Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 110383
b: refs/heads/master
c: a677f58
h: refs/heads/master
i:
  110381: 54676df
  110379: 083da1c
  110375: afefac8
  110367: 929a38c
v: v3
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed Jul 31, 2008
1 parent 46e773f commit 40dec0a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 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: e0a5a5d9b006fd441e61685a051fa85d52fb172c
refs/heads/master: a677f58a8c8c541bf7d02c658545084040f3708d
9 changes: 8 additions & 1 deletion trunk/arch/x86/kernel/setup_percpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,16 @@ void __init setup_per_cpu_areas(void)
printk(KERN_INFO
"cpu %d has no node %d or node-local memory\n",
cpu, node);
if (ptr)
printk(KERN_DEBUG "per cpu data for cpu%d at %016lx\n",
cpu, __pa(ptr));
}
else
else {
ptr = alloc_bootmem_pages_node(NODE_DATA(node), size);
if (ptr)
printk(KERN_DEBUG "per cpu data for cpu%d on node%d at %016lx\n",
cpu, node, __pa(ptr));
}
#endif
per_cpu_offset(cpu) = ptr - __per_cpu_start;
memcpy(ptr, __per_cpu_start, __per_cpu_end - __per_cpu_start);
Expand Down

0 comments on commit 40dec0a

Please sign in to comment.