diff options
Diffstat (limited to 'include/asm-generic/vmlinux.lds.h')
-rw-r--r-- | include/asm-generic/vmlinux.lds.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index e53319cf29cb..aa6b9b1b30b5 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h | |||
@@ -432,13 +432,14 @@ | |||
432 | 432 | ||
433 | #define PERCPU_PROLOG(vaddr) \ | 433 | #define PERCPU_PROLOG(vaddr) \ |
434 | VMLINUX_SYMBOL(__per_cpu_load) = .; \ | 434 | VMLINUX_SYMBOL(__per_cpu_load) = .; \ |
435 | .data.percpu vaddr : AT(__per_cpu_load - LOAD_OFFSET) { \ | 435 | .data.percpu vaddr : AT(VMLINUX_SYMBOL(__per_cpu_load) \ |
436 | - LOAD_OFFSET) { \ | ||
436 | VMLINUX_SYMBOL(__per_cpu_start) = .; | 437 | VMLINUX_SYMBOL(__per_cpu_start) = .; |
437 | 438 | ||
438 | #define PERCPU_EPILOG(phdr) \ | 439 | #define PERCPU_EPILOG(phdr) \ |
439 | VMLINUX_SYMBOL(__per_cpu_end) = .; \ | 440 | VMLINUX_SYMBOL(__per_cpu_end) = .; \ |
440 | } phdr \ | 441 | } phdr \ |
441 | . = __per_cpu_load + SIZEOF(.data.percpu); | 442 | . = VMLINUX_SYMBOL(__per_cpu_load) + SIZEOF(.data.percpu); |
442 | 443 | ||
443 | /** | 444 | /** |
444 | * PERCPU_VADDR_PREALLOC - define output section for percpu area with prealloc | 445 | * PERCPU_VADDR_PREALLOC - define output section for percpu area with prealloc |