mirror of https://gitee.com/openkylin/linux.git
linker script: add missing .data.percpu.page_aligned
arm, arm/mach-integrator and powerpc were missing .data.percpu.page_aligned in their percpu output section definitions. Add it. Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
parent
145cd30bac
commit
74e7904559
|
@ -65,6 +65,7 @@ SECTIONS
|
||||||
#endif
|
#endif
|
||||||
. = ALIGN(4096);
|
. = ALIGN(4096);
|
||||||
__per_cpu_start = .;
|
__per_cpu_start = .;
|
||||||
|
*(.data.percpu.page_aligned)
|
||||||
*(.data.percpu)
|
*(.data.percpu)
|
||||||
*(.data.percpu.shared_aligned)
|
*(.data.percpu.shared_aligned)
|
||||||
__per_cpu_end = .;
|
__per_cpu_end = .;
|
||||||
|
|
|
@ -219,6 +219,7 @@ SECTIONS
|
||||||
.data.percpu PERCPU_ADDR : AT(__phys_per_cpu_start - LOAD_OFFSET)
|
.data.percpu PERCPU_ADDR : AT(__phys_per_cpu_start - LOAD_OFFSET)
|
||||||
{
|
{
|
||||||
__per_cpu_start = .;
|
__per_cpu_start = .;
|
||||||
|
*(.data.percpu.page_aligned)
|
||||||
*(.data.percpu)
|
*(.data.percpu)
|
||||||
*(.data.percpu.shared_aligned)
|
*(.data.percpu.shared_aligned)
|
||||||
__per_cpu_end = .;
|
__per_cpu_end = .;
|
||||||
|
|
|
@ -182,6 +182,7 @@ SECTIONS
|
||||||
. = ALIGN(PAGE_SIZE);
|
. = ALIGN(PAGE_SIZE);
|
||||||
.data.percpu : AT(ADDR(.data.percpu) - LOAD_OFFSET) {
|
.data.percpu : AT(ADDR(.data.percpu) - LOAD_OFFSET) {
|
||||||
__per_cpu_start = .;
|
__per_cpu_start = .;
|
||||||
|
*(.data.percpu.page_aligned)
|
||||||
*(.data.percpu)
|
*(.data.percpu)
|
||||||
*(.data.percpu.shared_aligned)
|
*(.data.percpu.shared_aligned)
|
||||||
__per_cpu_end = .;
|
__per_cpu_end = .;
|
||||||
|
|
Loading…
Reference in New Issue