initramfs: Really fix build break on symbol-prefixed archs
[linux-drm-fsl-dcu.git] / usr / initramfs_data.S
index 792a750d9441af80cd16e4d797234159875babc4..c14322d1c0cfb9d7ad70bf70adce5f77dd8fe921 100644 (file)
 */
 
 #include <linux/stringify.h>
+#include <asm-generic/vmlinux.lds.h>
 
 .section .init.ramfs,"a"
 __irf_start:
 .incbin __stringify(INITRAMFS_IMAGE)
 __irf_end:
 .section .init.ramfs.info,"a"
-.globl __initramfs_size
-__initramfs_size:
+.globl VMLINUX_SYMBOL(__initramfs_size)
+VMLINUX_SYMBOL(__initramfs_size):
 #ifdef CONFIG_64BIT
        .quad __irf_end - __irf_start
 #else