[PATCH] disable init/initramfs.c: architectures
[linux-drm-fsl-dcu.git] / arch / parisc / kernel / vmlinux.lds.S
index 7b943b45f7cd518f7749aa50fcf6ed081d5615f0..3b78c2794c369e72bfe57d2bdd461fc8754b0d63 100644 (file)
@@ -173,10 +173,12 @@ SECTIONS
      from .altinstructions and .eh_frame */
   .exit.text : { *(.exit.text) }
   .exit.data : { *(.exit.data) }
+#ifdef CONFIG_BLK_DEV_INITRD
   . = ALIGN(ASM_PAGE_SIZE);
   __initramfs_start = .;
   .init.ramfs : { *(.init.ramfs) }
   __initramfs_end = .;
+#endif
   . = ALIGN(32);
   __per_cpu_start = .;
   .data.percpu  : { *(.data.percpu) }