Skip to contentSkip to conversation

avr32-normalize-global-variables-exported-by-vmlinuxlds.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 8, 2013

lore
Share & tools
lore
#0 lore raw

Subject: [merged] avr32-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:36 -0700

The patch titled
Subject: avr32: normalize global variables exported by vmlinux.lds
has been removed from the -mm tree. Its filename was
avr32-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: avr32: 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.

---

 arch/avr32/kernel/setup.c       |    2 +-
 arch/avr32/kernel/vmlinux.lds.S |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
arch/avr32/kernel/setup.c renamed from arch/avr32/kernel/setup.c~avr32-normalize-global-variables-exported-by-vmlinuxlds +1 -1
diff -puN arch/avr32/kernel/setup.c~avr32-normalize-global-variables-exported-by-vmlinuxlds arch/avr32/kernel/setup.c
@@ -555,7 +555,7 @@ void __init setup_arch (char **cmdline_p
 {
 	struct clk *cpu_clk;
 
-	init_mm.start_code = (unsigned long)_text;
+	init_mm.start_code = (unsigned long)_stext;
 	init_mm.end_code = (unsigned long)_etext;
 	init_mm.end_data = (unsigned long)_edata;
 	init_mm.brk = (unsigned long)_end;
arch/avr32/kernel/vmlinux.lds.S renamed from arch/avr32/kernel/vmlinux.lds.S~avr32-normalize-global-variables-exported-by-vmlinuxlds +2 -2
diff -puN arch/avr32/kernel/vmlinux.lds.S~avr32-normalize-global-variables-exported-by-vmlinuxlds arch/avr32/kernel/vmlinux.lds.S
@@ -23,7 +23,7 @@ SECTIONS
 {
 	. = CONFIG_ENTRY_ADDRESS;
 	.init		: AT(ADDR(.init) - LOAD_OFFSET) {
-		_stext = .;
+		_text = .;
 		__init_begin = .;
 			_sinittext = .;
 			*(.text.reset)
@@ -46,7 +46,7 @@ SECTIONS
 
 	.text		: AT(ADDR(.text) - LOAD_OFFSET) {
 		_evba = .;
-		_text = .;
+		_stext = .;
 		*(.ex.text)
 		*(.irq.text)
 		KPROBES_TEXT

_

Patches currently in -mm which might be from [email protected] are

origin.patch
linux-next.patch