[PATCH] disable init/initramfs.c: architectures
[linux-drm-fsl-dcu.git] / arch / sparc64 / kernel / vmlinux.lds.S
index 4a6063f33e7a4155e084cd50ba58a2617f3fa3c3..13fa2a2e4513b75cdae8052b544d5a96bf134c29 100644 (file)
@@ -81,10 +81,14 @@ SECTIONS
   __sun4v_2insn_patch = .;
   .sun4v_2insn_patch : { *(.sun4v_2insn_patch) }
   __sun4v_2insn_patch_end = .;
+
+#ifdef CONFIG_BLK_DEV_INITRD
   . = ALIGN(8192); 
   __initramfs_start = .;
   .init.ramfs : { *(.init.ramfs) }
   __initramfs_end = .;
+#endif
+
   . = ALIGN(8192);
   __per_cpu_start = .;
   .data.percpu  : { *(.data.percpu) }