Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a698c823 authored by Tejun Heo's avatar Tejun Heo Committed by Ingo Molnar
Browse files

x86: make vmlinux_32.lds.S use PERCPU() macro



Make vmlinux_32.lds.S use the generic PERCPU() macro instead of open
coding it.  This will ease future changes.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent c90aa894
Loading
Loading
Loading
Loading
+1 −8
Original line number Diff line number Diff line
@@ -178,14 +178,7 @@ SECTIONS
	__initramfs_end = .;
  }
#endif
  . = ALIGN(PAGE_SIZE);
  .data.percpu  : AT(ADDR(.data.percpu) - LOAD_OFFSET) {
	__per_cpu_start = .;
	*(.data.percpu.page_aligned)
	*(.data.percpu)
	*(.data.percpu.shared_aligned)
	__per_cpu_end = .;
  }
  PERCPU(PAGE_SIZE)
  . = ALIGN(PAGE_SIZE);
  /* freed after init ends here */