projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10f204e
)
m68knommu: Don't hardcode the value of PAGE_SIZE in the linker script.
author
Tim Abbott
<tabbott@ksplice.com>
Sun, 18 Oct 2009 17:23:49 +0000
(13:23 -0400)
committer
Greg Ungerer
<gerg@goober.(none)>
Fri, 4 Dec 2009 01:45:31 +0000
(11:45 +1000)
Signed-off-by: Tim Abbott <tabbott@ksplice.com>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68knommu/kernel/vmlinux.lds.S
patch
|
blob
|
history
diff --git
a/arch/m68knommu/kernel/vmlinux.lds.S
b/arch/m68knommu/kernel/vmlinux.lds.S
index
6e10d25
..
a0108fd
100644
(file)
--- 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