c6x-normalize-global-variables-exported-by-vmlinuxlds.patch removed from -mm tree
Subject: [merged] c6x-normalize-global-variables-exported-by-vmlinuxlds.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 08 Jul 2013 12:26:38 -0700
The patch titled
Subject: c6x: normalize global variables exported by vmlinux.lds
has been removed from the -mm tree. Its filename was
c6x-normalize-global-variables-exported-by-vmlinuxlds.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Jiang Liu <[email protected]>
Subject: c6x: normalize global variables exported by vmlinux.lds
Normalize global variables exported by vmlinux.lds to conform usage guidelines from include/asm-generic/sections.h.
Use _text to mark the start of the kernel image including the head text, and _stext to mark the start of the .text section.
This patch also fixes possible bugs due to current address layout that [__init_begin, __init_end] is a sub-range of [_stext, _etext] and pages within range [__init_begin, __init_end] will be freed by free_initmem().
---
arch/c6x/kernel/vmlinux.lds.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/c6x/kernel/vmlinux.lds.S renamed from arch/c6x/kernel/vmlinux.lds.S~c6x-normalize-global-variables-exported-by-vmlinuxlds +2 -2
@@ -54,16 +54,15 @@ SECTIONS } . = ALIGN(PAGE_SIZE); + __init_begin = .; .init : { - _stext = .; _sinittext = .; HEAD_TEXT INIT_TEXT _einittext = .; } - __init_begin = _stext; INIT_DATA_SECTION(16) PERCPU_SECTION(128)
@@ -74,6 +73,7 @@ SECTIONS .text : { _text = .; + _stext = .; TEXT_TEXT SCHED_TEXT LOCK_TEXT
_
Patches currently in -mm which might be from [email protected] are
origin.patch
linux-next.patch