From: Yuusei KUWANA <kuwana@nyanyan.to>
To: Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: [PATCH] arch/cris/arch-v10/vmlinux.lds.S fix boot problem
Date: Sat, 15 Dec 2007 14:59:33 +0900 [thread overview]
Message-ID: <47636D45.6010006@nyanyan.to> (raw)
arch/cris/arch-v10/vmlinux.lds.S
fix boot problem
* too old initcall style. replace INITCALLS macro
* __init_begin, __init_end move for free_initmem()
Note: with this patch kernel boot and mount root,
but after init done, kernel panic at do_signal() ...
ryu
Signed-off-by: Yuusei KUWANA <ryu@nyanyan.to>
---
arch/cris/arch-v10/vmlinux.lds.S | 13 ++++---------
1 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/arch/cris/arch-v10/vmlinux.lds.S b/arch/cris/arch-v10/vmlinux.lds.S
index 9859d49..c5bab0e 100644
--- a/arch/cris/arch-v10/vmlinux.lds.S
+++ b/arch/cris/arch-v10/vmlinux.lds.S
@@ -53,26 +53,22 @@ SECTIONS
.data.init_task : { *(.data.init_task) }
. = ALIGN(8192); /* Init code and data */
- __init_begin = .;
.init.text : {
_sinittext = .;
*(.init.text)
_einittext = .;
}
+ __init_begin = .;
.init.data : { *(.init.data) }
+ __init_end = .;
+
. = ALIGN(16);
__setup_start = .;
.init.setup : { *(.init.setup) }
__setup_end = .;
.initcall.init : {
__initcall_start = .;
- *(.initcall1.init);
- *(.initcall2.init);
- *(.initcall3.init);
- *(.initcall4.init);
- *(.initcall5.init);
- *(.initcall6.init);
- *(.initcall7.init);
+ INITCALLS
__initcall_end = .;
}
@@ -97,7 +93,6 @@ SECTIONS
#endif
__vmlinux_end = .; /* last address of the physical file */
- __init_end = .;
__data_end = . ; /* Move to _edata ? */
__bss_start = .; /* BSS */
--
1.5.3
next reply other threads:[~2007-12-15 6:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-15 5:59 Yuusei KUWANA [this message]
2007-12-21 15:14 ` [PATCH] arch/cris/arch-v10/vmlinux.lds.S fix boot problem Jesper Nilsson
2007-12-21 15:54 ` Jesper Nilsson
2007-12-21 16:07 ` Jesper Nilsson
2007-12-22 8:37 ` Sam Ravnborg
2008-01-03 17:02 ` Jesper Nilsson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47636D45.6010006@nyanyan.to \
--to=kuwana@nyanyan.to \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox