author: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> 2010-11-29 14:38:50 -0800
committer: Michal Marek <mmarek@suse.cz> 2010-12-01 13:13:21 +0100
commit: 1198c6d45a1ef5f4f7fdfbf33ef7d270493ec575
parent: c8ddb2713c624f432fa5fe3c7ecffcdda46ea0d4
Commit Summary:
Diffstat:
1 file changed, 3 insertions, 2 deletions
diff --git a/usr/initramfs_data.S b/usr/initramfs_data.S
index 792a750d9441..c14322d1c0cf 100644
--- a/usr/initramfs_data.S
+++ b/usr/initramfs_data.S
@@ -22,14 +22,15 @@
*/
#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