diff options
Diffstat (limited to 'usr/initramfs_data.S')
-rw-r--r-- | usr/initramfs_data.S | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/usr/initramfs_data.S b/usr/initramfs_data.S index b9efed5e35c..c14322d1c0c 100644 --- a/usr/initramfs_data.S +++ b/usr/initramfs_data.S @@ -22,16 +22,17 @@ */ #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: -#ifdef CONFIG_32BIT - .long __irf_end - __irf_start -#else +.globl VMLINUX_SYMBOL(__initramfs_size) +VMLINUX_SYMBOL(__initramfs_size): +#ifdef CONFIG_64BIT .quad __irf_end - __irf_start +#else + .long __irf_end - __irf_start #endif |