Re: [PATCH v4 7/7] m68knommu: Split the .init section into INIT_TEXT_SECTIONand INIT_DATA_SECTION.

From: Greg Ungerer
Date: Thu Oct 29 2009 - 21:14:15 EST


Hi Tim,

The whole series applied and ran fine for me!
(Of course excepting the define name clash in 1/7)

Do you want me to push these into m68knommu.git?

Regards
Greg



Tim Abbott wrote:
Signed-off-by: Tim Abbott <tabbott@xxxxxxxxxxx>
---
arch/m68knommu/kernel/vmlinux.lds.S | 17 ++++-------------
1 files changed, 4 insertions(+), 13 deletions(-)

diff --git a/arch/m68knommu/kernel/vmlinux.lds.S b/arch/m68knommu/kernel/vmlinux.lds.S
index 65e2874..2bff62f 100644
--- a/arch/m68knommu/kernel/vmlinux.lds.S
+++ b/arch/m68knommu/kernel/vmlinux.lds.S
@@ -154,22 +154,13 @@ SECTIONS {
_edata = . ;
} > DATA
- .init : {
+ .init.text : {
. = ALIGN(PAGE_SIZE);
__init_begin = .;
} > INIT
- .init : {
- _sinittext = .;
- INIT_TEXT
- _einittext = .;
- INIT_DATA
- INIT_SETUP(16)
- INIT_CALLS
- CON_INITCALL
- SECURITY_INITCALL
- INIT_RAM_FS
- } > INIT
- .init : {
+ INIT_TEXT_SECTION(PAGE_SIZE) > INIT
+ INIT_DATA_SECTION(16) > INIT
+ .init.data : {
. = ALIGN(PAGE_SIZE);
__init_end = .;
} > INIT

--
------------------------------------------------------------------------
Greg Ungerer -- Principal Engineer EMAIL: gerg@xxxxxxxxxxxx
SnapGear Group, McAfee PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/