Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3497337946415849a2e4473ec2e9f0d2a6624b23
Commit:     3497337946415849a2e4473ec2e9f0d2a6624b23
Parent:     5d9df8eeacec943c9599f1cfd1069bc8cced3de6
Author:     Paul Mundt <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 9 15:20:53 2007 +0900
Committer:  Paul Mundt <[EMAIL PROTECTED]>
CommitDate: Tue Oct 9 15:20:53 2007 +0900

    sh: Fix up some section alignments in linker script.
    
    With the PERCPU() macro introduction .data.cacheline_aligned was
    inhereting PAGE_SIZE alignment, fix that up for L1_CACHE_BYTES
    again. Likewise, the initramfs section wants PAGE_SIZE alignment.
    
    Signed-off-by: Paul Mundt <[EMAIL PROTECTED]>
---
 arch/sh/kernel/vmlinux.lds.S |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/arch/sh/kernel/vmlinux.lds.S b/arch/sh/kernel/vmlinux.lds.S
index 84a203b..3d16d6e 100644
--- a/arch/sh/kernel/vmlinux.lds.S
+++ b/arch/sh/kernel/vmlinux.lds.S
@@ -62,6 +62,8 @@ SECTIONS
   __nosave_end = .;
 
   PERCPU(PAGE_SIZE)
+
+  . = ALIGN(L1_CACHE_BYTES);
   .data.cacheline_aligned : { *(.data.cacheline_aligned) }
 
   _edata = .;                  /* End of data section */
@@ -90,6 +92,8 @@ SECTIONS
   SECURITY_INIT
 
 #ifdef CONFIG_BLK_DEV_INITRD
+  . = ALIGN(PAGE_SIZE);
+
   __initramfs_start = .;
   .init.ramfs : { *(.init.ramfs) }
   __initramfs_end = .;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to