Browse files

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
Signed-off-by: Michal Marek <>
  • Loading branch information...
1 parent c8ddb27 commit 1198c6d45a1ef5f4f7fdfbf33ef7d270493ec575 @hbrueckner hbrueckner committed with michal42 Nov 29, 2010
Showing with 3 additions and 2 deletions.
  1. +3 −2 usr/initramfs_data.S
5 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

0 comments on commit 1198c6d

Please sign in to comment.