diff options
-rw-r--r-- | arch/x86/kernel/setup_percpu.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/x86/kernel/setup_percpu.c b/arch/x86/kernel/setup_percpu.c index f7745f94c006..61f3966632a8 100644 --- a/arch/x86/kernel/setup_percpu.c +++ b/arch/x86/kernel/setup_percpu.c | |||
@@ -180,9 +180,16 @@ void __init setup_per_cpu_areas(void) | |||
180 | printk(KERN_INFO | 180 | printk(KERN_INFO |
181 | "cpu %d has no node %d or node-local memory\n", | 181 | "cpu %d has no node %d or node-local memory\n", |
182 | cpu, node); | 182 | cpu, node); |
183 | if (ptr) | ||
184 | printk(KERN_DEBUG "per cpu data for cpu%d at %016lx\n", | ||
185 | cpu, __pa(ptr)); | ||
183 | } | 186 | } |
184 | else | 187 | else { |
185 | ptr = alloc_bootmem_pages_node(NODE_DATA(node), size); | 188 | ptr = alloc_bootmem_pages_node(NODE_DATA(node), size); |
189 | if (ptr) | ||
190 | printk(KERN_DEBUG "per cpu data for cpu%d on node%d at %016lx\n", | ||
191 | cpu, node, __pa(ptr)); | ||
192 | } | ||
186 | #endif | 193 | #endif |
187 | per_cpu_offset(cpu) = ptr - __per_cpu_start; | 194 | per_cpu_offset(cpu) = ptr - __per_cpu_start; |
188 | memcpy(ptr, __per_cpu_start, __per_cpu_end - __per_cpu_start); | 195 | memcpy(ptr, __per_cpu_start, __per_cpu_end - __per_cpu_start); |