diff options
author | Tim Abbott <tabbott@ksplice.com> | 2009-10-18 13:23:55 -0400 |
---|---|---|
committer | Greg Ungerer <gerg@goober.(none)> | 2009-12-04 11:45:32 +1000 |
commit | 53749f735a5b79156b56e75ee379be9e299b5e4b (patch) | |
tree | a78bd02662d8ad1f6547d360c056604fcc5d167a /arch/m68knommu/kernel | |
parent | 995bcd3dc1924095ddda45d0f8ece6bf6124d74e (diff) | |
download | lwn-53749f735a5b79156b56e75ee379be9e299b5e4b.tar.gz lwn-53749f735a5b79156b56e75ee379be9e299b5e4b.zip |
m68knommu: Split the .init section into INIT_TEXT_SECTION and INIT_DATA_SECTION.
Signed-off-by: Tim Abbott <tabbott@ksplice.com>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68knommu/kernel')
-rw-r--r-- | 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 884924982dd9..9f1784f586b9 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 |