diff options
author | Tim Abbott <tabbott@ksplice.com> | 2009-10-18 13:23:49 -0400 |
---|---|---|
committer | Greg Ungerer <gerg@goober.(none)> | 2009-12-04 11:45:31 +1000 |
commit | f4bed4fb17417085d00e4fd1dc285db0330e5945 (patch) | |
tree | 088de452f025640b51f6b0a4662c95736f3b5f27 /arch/m68knommu | |
parent | 10f204e5ad4e0c72aa007c00cb76c1d5a577032d (diff) | |
download | blackbird-op-linux-f4bed4fb17417085d00e4fd1dc285db0330e5945.tar.gz blackbird-op-linux-f4bed4fb17417085d00e4fd1dc285db0330e5945.zip |
m68knommu: Don't hardcode the value of PAGE_SIZE in the linker script.
Signed-off-by: Tim Abbott <tabbott@ksplice.com>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68knommu')
-rw-r--r-- | arch/m68knommu/kernel/vmlinux.lds.S | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/m68knommu/kernel/vmlinux.lds.S b/arch/m68knommu/kernel/vmlinux.lds.S index 6e10d25f872d..a0108fd6d341 100644 --- a/arch/m68knommu/kernel/vmlinux.lds.S +++ b/arch/m68knommu/kernel/vmlinux.lds.S @@ -8,6 +8,7 @@ */ #include <asm-generic/vmlinux.lds.h> +#include <asm/page.h> #if defined(CONFIG_RAMKERNEL) #define RAM_START CONFIG_KERNELBASE @@ -155,7 +156,7 @@ SECTIONS { } > DATA .init : { - . = ALIGN(4096); + . = ALIGN(PAGE_SIZE); __init_begin = .; _sinittext = .; INIT_TEXT @@ -180,7 +181,7 @@ SECTIONS { *(.init.ramfs) __initramfs_end = .; #endif - . = ALIGN(4096); + . = ALIGN(PAGE_SIZE); __init_end = .; } > INIT |