aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup_percpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/setup_percpu.c')
-rw-r--r--arch/x86/kernel/setup_percpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/setup_percpu.c b/arch/x86/kernel/setup_percpu.c
index 56c63ac62b10..44845842e722 100644
--- a/arch/x86/kernel/setup_percpu.c
+++ b/arch/x86/kernel/setup_percpu.c
@@ -213,7 +213,7 @@ void __init setup_per_cpu_areas(void)
213 } 213 }
214#endif 214#endif
215 per_cpu_offset(cpu) = ptr - __per_cpu_start; 215 per_cpu_offset(cpu) = ptr - __per_cpu_start;
216 memcpy(ptr, __per_cpu_start, __per_cpu_end - __per_cpu_start); 216 memcpy(ptr, __per_cpu_load, __per_cpu_end - __per_cpu_start);
217 217
218 DBG("PERCPU: cpu %4d %p\n", cpu, ptr); 218 DBG("PERCPU: cpu %4d %p\n", cpu, ptr);
219 } 219 }