path: root/usr
diff options
authorHendrik Brueckner <>2010-11-29 14:38:50 -0800
committerMichal Marek <>2010-12-01 13:13:21 +0100
commit1198c6d45a1ef5f4f7fdfbf33ef7d270493ec575 (patch)
treed655aec03674ada60e6a1b82ed28219db11260b1 /usr
parentc8ddb2713c624f432fa5fe3c7ecffcdda46ea0d4 (diff)
initramfs: Really fix build break on symbol-prefixed archs
Define the __initramfs_size variable using VMLINUX_SYMBOL() to take care of symbol-prefixed architectures, for example, blackfin. Signed-off-by: Hendrik Brueckner <> Cc: Mike Frysinger <> Cc: Hendrik Brueckner <>, Cc: Michal Marek <> Cc: Sam Ravnborg <> Signed-off-by: Andrew Morton <> [mmarek: leave out Makefile change, since d63f6d1 already takes care of the SYMBOL_PREFIX define] Signed-off-by: Michal Marek <>
Diffstat (limited to 'usr')
1 files 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/>
.section .init.ramfs,"a"
.incbin __stringify(INITRAMFS_IMAGE)
-.globl __initramfs_size
+.globl VMLINUX_SYMBOL(__initramfs_size)
#ifdef CONFIG_64BIT
.quad __irf_end - __irf_start