Commit f4bed4fb authored by Tim Abbott's avatar Tim Abbott Committed by Greg Ungerer

m68knommu: Don't hardcode the value of PAGE_SIZE in the linker script.

Signed-off-by: default avatarTim Abbott <tabbott@ksplice.com>
Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
parent 10f204e5
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
*/ */
#include <asm-generic/vmlinux.lds.h> #include <asm-generic/vmlinux.lds.h>
#include <asm/page.h>
#if defined(CONFIG_RAMKERNEL) #if defined(CONFIG_RAMKERNEL)
#define RAM_START CONFIG_KERNELBASE #define RAM_START CONFIG_KERNELBASE
...@@ -155,7 +156,7 @@ SECTIONS { ...@@ -155,7 +156,7 @@ SECTIONS {
} > DATA } > DATA
.init : { .init : {
. = ALIGN(4096); . = ALIGN(PAGE_SIZE);
__init_begin = .; __init_begin = .;
_sinittext = .; _sinittext = .;
INIT_TEXT INIT_TEXT
...@@ -180,7 +181,7 @@ SECTIONS { ...@@ -180,7 +181,7 @@ SECTIONS {
*(.init.ramfs) *(.init.ramfs)
__initramfs_end = .; __initramfs_end = .;
#endif #endif
. = ALIGN(4096); . = ALIGN(PAGE_SIZE);
__init_end = .; __init_end = .;
} > INIT } > INIT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment