linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH percpu 1/2] microblaze: include EXIT_TEXT to _stext
@ 2009-07-08  9:26 Tejun Heo
  2009-07-08  9:26 ` Tejun Heo
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Tejun Heo @ 2009-07-08  9:26 UTC (permalink / raw)
  To: linux-arch@vger.kernel.org, Linux Kernel, Michal Simek,
	microblaze-uclinux, Sam

From: Michal Simek <monstr@monstr.eu>

Microblaze wants to throw out EXIT_TEXT during runtime too.  This
hasn't caused trouble till now because the linker script didn't
discard EXIT_TEXT and it ended up in its default output section.  As
discard definition is about to be unified, include EXIT_TEXT into
_stext explicitly and while at it replace explicit exitcall definition
to EXIT_CALL.

Signed-off-by: Michal Simek <monstr@monstr.eu>
Signed-off-by: Tejun Heo <tj@kernel.org>
---
Michal, I added the commit messaeg and SOB.  If you don't like it
please let me know.

If there's no further objection, I'll commit this and the next patch
to percpu#for-next.

Thanks.

 arch/microblaze/kernel/vmlinux.lds.S |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: work/arch/microblaze/kernel/vmlinux.lds.S
===================================================================
--- work.orig/arch/microblaze/kernel/vmlinux.lds.S
+++ work/arch/microblaze/kernel/vmlinux.lds.S
@@ -23,8 +23,8 @@ SECTIONS {
 		_stext = . ;
 		*(.text .text.*)
 		*(.fixup)
-
-		*(.exitcall.exit)
+               EXIT_TEXT
+               EXIT_CALL
 		SCHED_TEXT
 		LOCK_TEXT
 		KPROBES_TEXT

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-07-17 21:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-08  9:26 [PATCH percpu 1/2] microblaze: include EXIT_TEXT to _stext Tejun Heo
2009-07-08  9:26 ` Tejun Heo
2009-07-08  9:27 ` [PATCH 2/2] linker script: unify usage of discard definition Tejun Heo
2009-07-08  9:27   ` Tejun Heo
2009-07-17 21:13   ` Sam Ravnborg
2009-07-17 21:13     ` Sam Ravnborg
2009-07-08 10:37 ` [PATCH percpu 1/2] microblaze: include EXIT_TEXT to _stext Michal Simek
2009-07-09  2:28   ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).