]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/m68k/kernel/vmlinux-sun3.lds
m68k: vmlinux-std/sun3.lds.S cleanup - use PAGE_SIZE macro
[linux-2.6-omap-h63xx.git] / arch / m68k / kernel / vmlinux-sun3.lds
index cdc313e7c299a66c2d7700526f00bcd0463142cf..8a4919e4d36a4ef23c996b4a3f4a4dc51d4ddb1e 100644 (file)
@@ -1,6 +1,7 @@
 /* ld script to make m68k Linux kernel */
 
 #include <asm-generic/vmlinux.lds.h>
+#include <asm/page.h>
 
 OUTPUT_FORMAT("elf32-m68k", "elf32-m68k", "elf32-m68k")
 OUTPUT_ARCH(m68k)
@@ -34,7 +35,7 @@ SECTIONS
   _edata = .;
 
   /* will be freed after init */
-  . = ALIGN(8192);     /* Init code and data */
+  . = ALIGN(PAGE_SIZE);        /* Init code and data */
 __init_begin = .;
        .init.text : {
                _sinittext = .;
@@ -61,12 +62,12 @@ __init_begin = .;
        }
        SECURITY_INIT
 #ifdef CONFIG_BLK_DEV_INITRD
-       . = ALIGN(8192);
+       . = ALIGN(PAGE_SIZE);
        __initramfs_start = .;
        .init.ramfs : { *(.init.ramfs) }
        __initramfs_end = .;
 #endif
-       . = ALIGN(8192);
+       . = ALIGN(PAGE_SIZE);
        __init_end = .;
        .data.init.task : { *(.data.init_task) }