提交 f4bed4fb 编写于 作者: T Tim Abbott 提交者: Greg Ungerer

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

Signed-off-by: NTim Abbott <tabbott@ksplice.com>
Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
上级 10f204e5
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册