Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ARM: kirkwood: add missing kexec.h include

Fixes the following build error when CONFIG_KEXEC is enabled:
CC arch/arm/mach-kirkwood/board-dt.o
arch/arm/mach-kirkwood/board-dt.c: In function 'kirkwood_dt_init':
arch/arm/mach-kirkwood/board-dt.c:52:2: error: 'kexec_reinit' undeclared (first use in this function)
arch/arm/mach-kirkwood/board-dt.c:52:2: note: each undeclared identifier is reported only once for each function it appears in

Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
[v4, rebase onto recent Linus for repost]
[v3, speak actual English in the commit message, thanks Sergei Shtylyov]
[v2, using linux/kexec.h not asm/kexec.h]
Signed-off-by: Jason Cooper <jason@lakedaemon.net>

authored by

Ian Campbell and committed by
Jason Cooper
a7ac56de d48b97b4

+1
+1
arch/arm/mach-kirkwood/board-dt.c
··· 14 14 #include <linux/init.h> 15 15 #include <linux/of.h> 16 16 #include <linux/of_platform.h> 17 + #include <linux/kexec.h> 17 18 #include <asm/mach/arch.h> 18 19 #include <asm/mach/map.h> 19 20 #include <mach/bridge-regs.h>