diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2008-07-17 15:16:11 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-20 20:24:38 -0400 |
commit | 97d26e73d729c8d967bc5eb9086321956c444dd4 (patch) | |
tree | 01592b1319fcf91b71bd8430e00696f8f9e051b2 /arch/m68k/kernel/vmlinux-std.lds | |
parent | e945b568e28b42de893ef24989372f0219501d32 (diff) |
m68k: vmlinux-std/sun3.lds.S cleanup - use PAGE_SIZE macro
This patch includes page.h header into linker script that
allow us to use PAGE_SIZE macro instead of numeric constant
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m68k/kernel/vmlinux-std.lds')
-rw-r--r-- | arch/m68k/kernel/vmlinux-std.lds | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/m68k/kernel/vmlinux-std.lds b/arch/m68k/kernel/vmlinux-std.lds index 7537cc5e6159..99b0784c0552 100644 --- a/arch/m68k/kernel/vmlinux-std.lds +++ b/arch/m68k/kernel/vmlinux-std.lds | |||
@@ -1,6 +1,7 @@ | |||
1 | /* ld script to make m68k Linux kernel */ | 1 | /* ld script to make m68k Linux kernel */ |
2 | 2 | ||
3 | #include <asm-generic/vmlinux.lds.h> | 3 | #include <asm-generic/vmlinux.lds.h> |
4 | #include <asm/page.h> | ||
4 | 5 | ||
5 | OUTPUT_FORMAT("elf32-m68k", "elf32-m68k", "elf32-m68k") | 6 | OUTPUT_FORMAT("elf32-m68k", "elf32-m68k", "elf32-m68k") |
6 | OUTPUT_ARCH(m68k) | 7 | OUTPUT_ARCH(m68k) |
@@ -41,7 +42,7 @@ SECTIONS | |||
41 | _edata = .; /* End of data section */ | 42 | _edata = .; /* End of data section */ |
42 | 43 | ||
43 | /* will be freed after init */ | 44 | /* will be freed after init */ |
44 | . = ALIGN(4096); /* Init code and data */ | 45 | . = ALIGN(PAGE_SIZE); /* Init code and data */ |
45 | __init_begin = .; | 46 | __init_begin = .; |
46 | .init.text : { | 47 | .init.text : { |
47 | _sinittext = .; | 48 | _sinittext = .; |