Skip to content

Cleanup vmlinux.lds.S

Wei Yang lkml 1 version Applied

Status from this message: The following commit has been merged into the x86/build branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 10 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4vmlinux.lds.h: fix a typo in commentinclude/asm-generic/vmlinux.lds.h+1 -10 replies
2/4x86/boot: replace __PHYSICAL_START with LOAD_PHYSICAL_ADDRarch/x86/include/asm/boot.h arch/x86/include/asm/page_types.h+5 -88 replies
3/4x86/vmlinux.lds.S: remove conditional definition of LOAD_OFFSETarch/x86/kernel/vmlinux.lds.S+0 -42 replies
4/4x86/vmlinux.lds.S: take __START_KERNEL out conditional definitionarch/x86/kernel/vmlinux.lds.S+1 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Cleanup vmlinux.lds.S

To support 32/64 bits system, we have some definition conditionally. while some definition is duplicated:

* __PHYSICAL_START has the same definition as LOAD_PHYSICAL_ADDR
* LOAD_OFFSET could be defined directly to __START_KERNEL_map

After these cleanup, we could reduce some complexity of vmlinux.lds.S.

Wei Yang (4):
vmlinux.lds.h: fix a typo in comment
x86/boot: replace __PHYSICAL_START with LOAD_PHYSICAL_ADDR x86/vmlinux.lds.S: remove conditional definition of LOAD_OFFSET x86/vmlinux.lds.S: take __START_KERNEL out conditional definition

 arch/x86/include/asm/boot.h       | 5 -----
 arch/x86/include/asm/page_types.h | 8 +++++---
 arch/x86/kernel/vmlinux.lds.S     | 7 +------
 include/asm-generic/vmlinux.lds.h | 2 +-
 4 files changed, 7 insertions(+), 15 deletions(-)
Signature · 1 line
2.34.1