diff options
Diffstat (limited to 'arch/x86/kernel/vmlinux.lds.S')
| -rw-r--r-- | arch/x86/kernel/vmlinux.lds.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S index 92929fb3f9fa..ecb92717c412 100644 --- a/arch/x86/kernel/vmlinux.lds.S +++ b/arch/x86/kernel/vmlinux.lds.S | |||
| @@ -312,7 +312,7 @@ SECTIONS | |||
| 312 | * Per-cpu symbols which need to be offset from __per_cpu_load | 312 | * Per-cpu symbols which need to be offset from __per_cpu_load |
| 313 | * for the boot processor. | 313 | * for the boot processor. |
| 314 | */ | 314 | */ |
| 315 | #define INIT_PER_CPU(x) init_per_cpu__##x = per_cpu__##x + __per_cpu_load | 315 | #define INIT_PER_CPU(x) init_per_cpu__##x = x + __per_cpu_load |
| 316 | INIT_PER_CPU(gdt_page); | 316 | INIT_PER_CPU(gdt_page); |
| 317 | INIT_PER_CPU(irq_stack_union); | 317 | INIT_PER_CPU(irq_stack_union); |
| 318 | 318 | ||
| @@ -323,7 +323,7 @@ INIT_PER_CPU(irq_stack_union); | |||
| 323 | "kernel image bigger than KERNEL_IMAGE_SIZE"); | 323 | "kernel image bigger than KERNEL_IMAGE_SIZE"); |
| 324 | 324 | ||
| 325 | #ifdef CONFIG_SMP | 325 | #ifdef CONFIG_SMP |
| 326 | . = ASSERT((per_cpu__irq_stack_union == 0), | 326 | . = ASSERT((irq_stack_union == 0), |
| 327 | "irq_stack_union is not at start of per-cpu area"); | 327 | "irq_stack_union is not at start of per-cpu area"); |
| 328 | #endif | 328 | #endif |
| 329 | 329 | ||
