Commit 1198c6d4 authored by Hendrik Brueckner's avatar Hendrik Brueckner Committed by Michal Marek

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: default avatarHendrik Brueckner <>
Cc: Mike Frysinger <>
Cc: Hendrik Brueckner <>,
Cc: Michal Marek <>
Cc: Sam Ravnborg <>
Signed-off-by: default avatarAndrew Morton <>
[mmarek: leave out Makefile change, since d63f6d1b already takes care of the
Signed-off-by: default avatarMichal Marek <>
parent c8ddb271
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment