Pull ia64-clocksource into release branch
[pandora-kernel.git] / arch / cris / arch-v32 / vmlinux.lds.S
index 472d4b3..651a77f 100644 (file)
@@ -91,10 +91,9 @@ SECTIONS
        }
        SECURITY_INIT
 
-       __per_cpu_start = .;
-       .data.percpu  : { *(.data.percpu) }
-       __per_cpu_end = .;
+       PERCPU(8192)
 
+#ifdef CONFIG_BLK_DEV_INITRD
        .init.ramfs : {
                __initramfs_start = .;
                *(.init.ramfs)
@@ -107,6 +106,7 @@ SECTIONS
                FILL (0);
                . = ALIGN (8192);
        }
+#endif
 
        __vmlinux_end = .;      /* Last address of the physical file. */
        __init_end = .;